cSelectGetSelected Method

Retrieves a list of selected objects

Namespace:  ETABS2016
Assembly:  ETABS2016 (in ETABS2016.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
int GetSelected(
	ref int NumberItems,
	ref int[] ObjectType,
	ref string[] ObjectName
)

Parameters

NumberItems
Type: SystemInt32
The number of selected objects
ObjectType
Type: SystemInt32
This is an array that includes the object type of each selected object.
  1. Point object
  2. Frame object
  3. Cable object
  4. Tendon object
  5. Area object
  6. Solid object
  7. Link object
ObjectName
Type: SystemString
This is an array that includes the name of each selected object

Return Value

Type: Int32
Returns zero if the selection list is successfully retrieved, otherwise it returns a nonzero value
Remarks