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 (i), 4, (WindIce), 0, 0, 0
Next i
The first time I run the Excel macro, this creates and add the respective loads. The second time I run the macro, I want it to only update the existing load and not add another new load to the same beams with the same magnitude and direction.
Is there any way I can have it only update the loads on the beams when I have new load information (or clear out old loads) or just clear the STAAD model and rebuild everything each time?
For example, in STAAD, in the STAAD Editor, I see this:
LOAD 5 WINDICE
MEMBER LOAD
7 8 UNI GY -2.57439
7 8 UNI GY -2.57439
I want to remove the load repetition.
I don't see a function for this in the OpenSTAAD V8i (SELECTseries4) documentation that clears STAAD or remove loads. So if anyone has an idea, that would be great