OpenSTAAD V8i

Geometry.GetLastSolidNo

Returns the member number of the last solid in the model.

VB Syntax

Geometry.GetLastSolidNo ()

Return Value

(Numeric value) The number of the highest solid number in the model as a long variable.

VB Example

 Dim objOpenSTAAD As Object
 Dim LastSolidNo As Long
'Get the application object --
'Get last solid no.
 LastSolidNo = objOpenSTAAD.Geometry.GetLastSolidNo ()