Page 1 of 1
Drift raio
Posted: Tue Jan 31, 2023 9:34 am
by Wenyu
Hello!STKO users and STKO Team,
I saw a topic on the forum, STKO team gives a file to get the drift raio, this is exactly what I need! (The topic i will show in the attachment) But I used this Python API in STKO post processor, and then attachment error occurred. I have never studied python, I have no idea how to solve this problem. I conducted a search, some people said that the reason for this error is not installed utils, but the problem is not solved after installation. I would be grateful if you could give me some help.
Re: Drift raio
Posted: Tue Jan 31, 2023 3:48 pm
by STKO Team
I just answered in the other post
Re: Drift raio
Posted: Wed Feb 01, 2023 3:11 am
by Wenyu
STKO Team wrote: ↑Tue Jan 31, 2023 3:48 pm
I just answered in the other post
I saw it, thank you very much
Re: Drift raio
Posted: Wed Feb 01, 2023 7:43 am
by STKO Team
you're welcome
Re: Drift raio
Posted: Fri Feb 03, 2023 3:59 pm
by Wenyu
STKO Team wrote: ↑Wed Feb 01, 2023 7:43 am
you're welcome
Actually,i want to ask another question,The finall picture shows the result of the last step,Is this mind right?Can I get a table showing all results?
Re: Drift raio
Posted: Fri Feb 10, 2023 9:53 am
by STKO Team
If you know a bit of Python, you can modify the script I sent you, so that every data that we put on the Plot windows, you can write it to a text file.
Give it a try, if you can't do it, we will help you
Re: Drift raio
Posted: Tue Feb 14, 2023 2:19 pm
by Wenyu
STKO Team wrote: ↑Fri Feb 10, 2023 9:53 am
If you know a bit of Python, you can modify the script I sent you, so that every data that we put on the Plot windows, you can write it to a text file.
Give it a try, if you can't do it, we will help you
I don 't know much about python, so I ask for help from my partner, but he does not understand the relevant content of the building, so we fail. So If you can help me, I will be grateful.
Re: Drift raio
Posted: Tue Feb 14, 2023 5:11 pm
by STKO Team
Try this:
It will create a folder with 1 file for each column. In each file you have 1 line for each time step.
In each line you have the time + the drifts at each floor

- D.png (178.45 KiB) Viewed 5941 times
Re: Drift raio
Posted: Sun Feb 19, 2023 2:29 pm
by Wenyu
STKO Team wrote: ↑Tue Feb 14, 2023 5:11 pm
Try this:
DRIFT.zip
It will create a folder with 1 file for each column. In each file you have 1 line for each time step.
In each line you have the time + the drifts at each floor
D.png
Thank you so much
Re: Drift raio
Posted: Mon Feb 20, 2023 11:15 am
by STKO Team
You're welcome