SELECT
Selects objects in the model.
Description
With the SELECT command, objects can be selected from the model. There are several different selection methods available through the Selection type parameter.
Syntax
SELECT [Selection type] Selection parameters...
Selection types
Available selection types:
Selection type | Description |
---|---|
All | Selects all objects in the model |
Invert | Inverts the selection |
By_ID | Selection by object ID |
By_Type | Selection by object type |
By_Attribute | Selection by object type and attribute(s) |
By_User | Manual selection by the user during the script run |
Command parameters
Selection type:
The available selection parameters and their meaning depends on the chosen selection type. Detailed description of all selection parameters for each individual selection type can be found below.
Sample code
SELECT All
Detailed description of selection types
SELECT All
Selects all previously created objects in the model.
Syntax
SELECT All
Sample code
Command only:
SELECT All
With added prerequisites: (object creation)
LOAD_SECTION_LIBRARY Sec_ID1 "HEA 200"
CREATE Mem_ID1 Structural_member "HEA 200"
0 0 0
0 0 3000
SELECT All
SELECT Invert
Inverts the selection. In other words, selects model objects that were unselected, and deselects model objects that were selected previously.
Syntax
SELECT Invert
Sample code
Command only:
SELECT Invert
With added prerequisites: (object creation and selection)
LOAD_SECTION_LIBRARY Sec_ID1 "HEA 200"
CREATE Mem_ID1 Structural_member "HEA 200"
0 0 0
0 0 3000
CREATE Mem_ID2 Structural_member "HEA 200"
1000 0 0
1000 0 3000
SELECT BY_ID Mem_ID1
SELECT Invert
SELECT By_ID
Selects specific objects in the model by ID.
Syntax
SELECT By_ID [ID1] [ID2] [ID3] etc.
Command parameters
Command parameter | Assignment | Value format | Input options |
---|---|---|---|
IDs | Required | String | Local, variable |
IDs:
Exact identification strings of the objects chosen for selection. Multiple IDs can be given within one SELECT BY_ID command. IDs need to be separated by spaces.