Accessing SPRO from python script works differently. Loading ‘StaadPro.dll’ as we generally do won't work here
Hereunder you may find a Python script, which will give some idea about how one can connect.
**************************
import win32com…
Hi When i use objOpenSTAAD.geometry.getbeamlength()
I get a number that is close the the actual beam length but it is not the correct number. When Staad.pro reports the beam length in the report the correct length is shown. Is there a way to get the…
Dear Sir,
We have been trying to select multiple beam numbers in STAAD.Pro using OpenSTAAD functions.
And the .NET code is as follows,
From the above picture we can see that, list of beam numbers are loaded into one dimensional array. And the…
We have been trying to automate STAAD.Pro application through VB.NET coding.
We need to run the STAAD.Pro application in the minimized window mode. Also, how can we handle STAAD.Pro warning message through VB.NET.
Thanks in advance...
I have got my report, but there is no loading details like dead load, Wind loads and all...
In report settings i have added Loadings, but its not showing.... Wt to do????
i want to see other load details. How to get that details?
Similar to the "Command.CreateSteelDesignCommand", is it possible to retrieve assigned steel design parameter information for beams?
In particular, I am interested in material grade data (fyld and fu) assigned to members for design.
Dear All,
I will be glad if you help me with the code. I Already have a code where i need to enter load case number to get the reactions at the particular load case.
I have almost 1000 load cases and i want all the load cases to get in excel at…
Hi Guys,
I Have tried to create OpenStaad macro using VB.NET. This program can generate geometry of 2D or 3D Single Span or Multi Span Pitched roof Frame(Portal Type) without any edit.
This helps to save time. Few additional optional features are…
I was trying to update an old OpenSTAAD excel macro so that it can run on the latest STAAD.Pro CONNECT edition.
While I was trying to extract maximum bending moment member forces I found that the syntax that should've extract max moment comes back with…
To get the maximum and minimum bending moment in a beam i wrote a code as follows:
Private Sub CommandButton2_Click() Dim OpenSTAAD As Object Set objOpenSTAAD = GetObject(, "StaadPro.OpenSTAAD") Dim lMemberNo As Long Dim lEnd As Long Dim lLoadcase As…
Please join Bentley's Wentao Zhang on July 25, 2018 at 8.00 PST | 11.00 EDT | 16.00 BST for a technical discussion on working with your in-house excel design spreadsheets is easier than ever! Join this interactive Tech Talk to learn how to export your…
I am struggling to apply the element pressures using the OpenSTAAD. Can someone help me to sort this out. Following are the tasks I am trying to do:
1. Verify if a 'Reference Load' with the specified load index (e.g., R74) exists in the selected STAAD…
Is there anyway to clear the STAAD model loads or prevent loads from repeating?
I have the following code that runs when I click the button:
objOpenSTAAD.Load.CreateNewPrimaryLoad "Wind & Ice X" For i = 1 To (X) objOpenSTAAD.Load.AddMemberUniformForce…
Hello all,
I'm trying to assign material to the beams in STAAD through VBA using the OpenSTAAD library. However, when I try to assign the material to the beam through objOpenSTAAD.Property.AssignBeamProperty 7, 1
I get the a Run Time error in Excel…
Greetings STAAD fans,
I am developing a VBA to the get the list of beams and after a couple of tries I have notice that the OpenSTAAD | GetBeamList command is not working.
Any suggestions?
See the following VBA Macro
Sub GetBeamList()
On Error…
Dear All,
I have done some coding using Excel OPENSTAAD. I used Set objOpenSTAAD = CreateObject("StaadPro.OpenSTAAD").
Usually when i execute the command, STAAD opens up by itself runs the analysis.
But all of sudden im getting run time 429 error…
Sekecting Plates.xlsm You are right. Prima facie, "View.SelectGroup" function does not appear to be working the way it should. We will check this further. Also, please find below a macro in selecting a group of plates which uses the Geometry.SelectMultiplePlates…
I have made a vb program (listed below), it runs well inside object browser, but when i run it from usertools (i.e assigning it to the usertools) it shows error.
error: 10092 Activex automation, cannot create object.
code:
Sub Main() Dim oStd…
I have a staad model I built programmically. The file opens and performs a successful analysis from within STAAD but when I try to pull member end forces from a c# program I'm developing the forces are different? I also modifed one of the simple openstaad…