Sir,
I am writing a openstaad code using visual basic and my objective is to assign a point load and moment at a group of nodes. Now after executing the code the point force is assigned properly in staad model but point moment is not reflected in staad. For your reference, i am adding the piece of code here and also the output screenshot.
For I = 2 To (j - 1) objOpenSTAAD.Load.SetLoadActive 1 objOpenSTAAD.Load.AddNodalLoad node(I), 0, (-1) * Cells(62 + I, 3), 0, 0, 0, Cells(62 + I, 4) Next I
staad output excel input
can you please help me how to fix this problem ASAP ?
Please use this code and check if it is working
Set objOpenSTAAD = GetObject(, "StaadPro.OpenSTAAD")
Dim node(0) As Longnode(0) = 2
Dim fx(1) As DoubleDim fy(1) As DoubleDim fz(1) As DoubleDim mx(1) As DoubleDim my(1) As DoubleDim mz(1) As Doublefx(0) = 1.56fy(0) = 2.3fz(0) = 3.7mx(0) = 3.9my(0) = 5.8mz(0) = 6
objOpenSTAAD.Load.SetLoadActive 2objOpenSTAAD.Load.Addnodalload node(0), fx(0), fy(0), fz(0), mx(0), my(0), mz(0)