bobstructures
Structural
- May 25, 2011
- 1
I currently have a sapIV text file that I wish to put into SAP2000 using Visual Basic and API. Sap2000 however does not have the 3D truss members that SAPIV did.
I need a way to automatically create trusses in a structure that has both trusses and frames. I have tried releasing the moments on frame members by creating a group called "trusses" and then releasing the moment restraints on either end with the following
'Release Moments on Both Ends
For k = 0 To 5
ii(k) = False
jj(k) = False
StartValue(k) = 0
endvalue(k) = 0
Next
ii(3) = True
ii(4) = True
ii(5) = True
jj(3) = True
jj(4) = True
jj(5) = True
ret = SapModel.FrameObj.SetReleases("Trusses", ii, jj, StartValue, endvalue)
It doesn't seem to do the trick...any thoughts?
I need a way to automatically create trusses in a structure that has both trusses and frames. I have tried releasing the moments on frame members by creating a group called "trusses" and then releasing the moment restraints on either end with the following
'Release Moments on Both Ends
For k = 0 To 5
ii(k) = False
jj(k) = False
StartValue(k) = 0
endvalue(k) = 0
Next
ii(3) = True
ii(4) = True
ii(5) = True
jj(3) = True
jj(4) = True
jj(5) = True
ret = SapModel.FrameObj.SetReleases("Trusses", ii, jj, StartValue, endvalue)
It doesn't seem to do the trick...any thoughts?