OpenSTAAD V8i

Geometry.GetMemberCount

Returns the number of members in the currently open STAAD file.

VB Syntax

Geometry.GetMemberCount ()

Return Value

(Numeric value) The total number of members in the model as a long variable.

VB Example

 Dim objOpenSTAAD As Object
 Dim lMemberCount As Long
'Get the application object --
 Set objOpenSTAAD = GetObject( , "StaadPro.OpenSTAAD")
'Get Member Numbers
 lMemberCount = objOpenSTAAD.Geometry.GetMemberCount ()

Reference Materials

Geometry.GetBeamList