Hello,
while I am coding in VBA, I need to obtain the output units in Open Staad for forces, moments and dimensions (for example for beams internal forces).
I use the commands:
GetOutputUnitForSectDimension
GetOutputUnitForForce
GetOutputUnitForMoment…
I wrote Open Staad code in Excel VBA and worked perfectly fine. Later on I have tried to run it again I got the following error message
The error pointing to this statement in my code:
Set geometry = objOpenSTAAD.geometry
What is the problem and…
Hi,
I need some help here.
I am trying to do some automatic design by reading the utilization ratio from the results. I believe in Open Staad there is only one function called GetMemberSteelDesignRatio which returns a True or False value:
GetMemberSteelDesignRatio…
Hello team.
I want to create a new Staad file using OPENSTAAD command, and a macro enabled worksheet following OPENSTAAD documentation. But when I run the code, Staad (STAAD.Pro CONNECT Edition - Version 22.06.00.138) always crashes and shows the following…
Dim lMemberNo As Long Dim lNodeA As Long Dim lNodeB As Long
Dim icount As Integer
Dim dCoordX As Double Dim dCoordY As Double Dim dCoordZ As Double
Dim SelBeams() As Long
Dim strpropertyname As Variant Dim isecrefno As String Dim dWidth As Double…
I am working on foundation design automizaiton using STAAD.pro
I can see base pressure in post processing mode, however, i don't find way to get the base pressure value in result file or openstaad function.
How can i get the base pressure value…
Dear friends, How can I overwrite loads (or any other properties) using OpenSTAAD, every time I edit something and run my script new loads are added.
Thanks in advance.
Dear all,
I'm using STAAD.Pro CONNECT Edition V22 Update 11.
After the analysis, I would need to extract thru OPENSTAAD the info related to design of members with AISC/EC3 codes (I'm referring to member capacities, EC3 section class, etc.).
In a…
Dear Friends,
The script below is for a very simple model (single member). I'm trying to assign a steel tapered section (200 5 800 150 10 150 10), but I'm facing some troubles. Could you help me with the script?
Sub GenerateModel()
Dim cx(1…
can someone please tell how to access results from stress at a point function of openstaad. i am trying hard to get but getting failure. please explain.
My Staad won't open, it stays forever in the splash screen. I've done everything. Update it, uninstall it, install again the V8. but anything works. My license is okay, and everything seems just fine. Before, it would open in just a few secs. I have rename…
Hello,
I need help with adding openstaad reference to C# project.
I did follow all instruction as per staad documentation. program is working on my system but not on client system.
I am using staad version 22 update 10.
One more thing, I…
Hello, I want to extract Load ID and Name of all loads from my active File but can't figure out how to extract Live load ID.
objOpenSTAAD.Load.GetPrimaryLoadCaseNumbers is returning 0 loadID for all live loads.
I can't find any other API to get Moving…
Hi.
I want to get the equally distributed loads on the STAAD model I used the following method Dim oLoad As Object = Nothing '= oStaad.Load
Dim arrdir() As Integer Dim arrForce() As Double Dim arrD1() As Double Dim arrD2() As Double Dim arrD3()…
I'm using STAAD.Pro Script Editor and OpenSTAAD API Reference to generate a structural model.
Unfortunately, t he OpenSTAAD function (OSPropertyUI::CreateHSSRoundPropertyFromTable) to create HSS Round shapes from table is not available.
Question:…
I have an issue with the GetMemberEndForces command and the input of member number and load case number. I try to use a variable of type Variant to use an array to be more efficient. The issue is staad always return a value of 0 for my forces. If a do…
if I use openstaad as follow, there is mistake, objOpenSTAAD =null, I have import LibBentley.manifest file. Ineed you to seed me an an sample, thalnk you ,
OpenSTAAD objOpenSTAAD = Marshal.GetActiveObject("StaadPro.OpenStaad") as OpenSTAAD; objOpenSTAAD…