OpenSTAAD V8i
This function splits a beam.
Where:
A long variable providing the beam member number to split.
A long variable providing the number of nodes to be inserted in the beam.
Double array variable containing the distance in length to the nodes.
Dim objOpenSTAAD As Object
Dim BeamNo As Long
Dim Nodes As Long
Dim DistToNode(4) As Double
'Get the application object --
Set objOpenSTAAD = GetObject( , "StaadPro.OpenSTAAD")
'Split Beam no 10 (length 5m say) into three unequal parts
BeamNo = 10
Nodes = 2
DistToNode(0) = 1.0
DistToNode(1) = 4.0
objOpenSTAAD.Geometry.SplitBeam BeamNo, Nodes, DistToNode
Reference Materials