OpenSTAAD V8i

Geometry.GetNoOfSelectedSolids

Returns the number of selected solids.

VB Syntax

Geometry.GetNoOfSelectedSolids ()

Return Value

A Long variable containing the number of solids selected.

VB Example

 Dim objOpenSTAAD As Object
 Dim SelSolidsNo As Long
'Get the application object --
'Get no. of selected solids
 SelSolidsNo = objOpenSTAAD.Geometry.GetNoOfSelectedSolids

Reference Materials

Geometry.GetSelectedSolids