Version 3.10.2 (Released at 04/04/2022)
- Link to installer has been updated.
- Some minor changes.

Version 1.0.4 (Released at 04/24/2021)
- Russian language is included. All credit goes to Stanislav Vagin.
- Help pages are translated to Russian. All credit goes to Stanislav Vagin.
- Some minor correction in Turkish translation.
- Some minor correction in Italian translation.
- Bug in exportmodel command is fixed.
- Bug in call command is fixed.
- Bug in line load dialog is fixed.
- Bug in right clicks are fixed.

Script Generation of D-shaped culverts(Read 2033 times)
Script Generation of D-shaped culverts on: April 11, 2019, 11:00:51 am
Here are the links for the first version of the two Excel files I created for script generation of D-shaped culverts. They're still not fully functional, as the results retrieval are not working yet, but the scripts generated seem to work fine.
Still struglling with my decision to do it in Excel with all those CHAR(34) functions to include quotation marks. Maybe I should have just created the scripts directly and defined some additional variables...


These files generate two different versions:
- Beams - Model with two different beam sections, one for the invert and another one for walls and crown, and rigid interface with enveloping soil;
- LinerInterface - Model with a single liner section and an interface.

I tried to use the element getter functions but I couldn't find a way to get nodes and coordinates from structural elements to apply normal stresses representing hydrostatic forces, so I did it the brute force way, assigning pressures to the boundaries.

By the way, is it possible to, in some way, represent different boundary pressure values with different lengths in the GUI, scaling them with some factor? That would help to check the input.

Thank you again for your help.
« Last Edit: April 11, 2019, 11:14:28 am by Roozbeh »

Re: Script Generation of D-shaped culverts Reply #1 on: April 11, 2019, 11:24:57 am
great job, I just moved your topic to script session. Later on I'll take a look at your code.

- I look for some solution for you to make it easier to apply force to structure nodes via script.

- regarding the force/pressure value representation, honestly I thought about that but unfortunately could not come up with reasonable solution. change of length is one solution but if user apply greater force than before the length can be uncontrollably large and so on. another solution could be showing the value at legend (left side of window) but there are some down sides for that as well. anyway I'm still working on it to come up with something. I might have to look at some commercial programs to get some ideas. feel free to bombard me with ideas if any so we can choose one.

again great job and keep it up!

Re: Script Generation of D-shaped culverts Reply #2 on: April 11, 2019, 11:36:23 am
Don't look too hard at my code as it's too clunky... It was just meant to solve an urgent problem and it is in no way polished. As soon as I have a better version with the retrieval of results I'll update a more polished version.

Regarding pressure value representation ideas, SAP2000 uses an internal scaling factor to make sure that it is within the screen bounds. The user can change it nonetheless.

Thank you once more!