OpenSTAAD V8i

Geometry.GetPlateList

This function returns the plate list of the current STAAD file to an array.

VB Syntax

Geometry.GetPlateList PlateNumberArray 

Where:

PlateNumberArray

Long Array variable in which the plate numbers are returned.

VB Example

 Dim objOpenSTAAD As Object
 Dim lPlateCnt as Long
 Dim PlateNumberArray() As Long
'Get the application object
 Set objOpenSTAAD = GetObject( , "StaadPro.OpenSTAAD")
‘Get Plate Numbers
 lPlateCnt = objOpenSTAAD.Geometry.GetPlateCount
 ReDim PlateNumberArray(0 to (lPlateCnt-1)) As Long
'Get Plate list
 objOpenSTAAD.Geometry.GetPlateList PlateNumberArray

Reference Materials

Geometry.GetPlateCount