Select Type From List
| Category: Selections | ||
| Command: select.typeFrom | ||
| Description | ||
|
Test to see if the first of a list of types is currently active. Useful for creating selection mode toggle buttons.
|
||
| Parameters | ||
|
typelist
Semicolon-delimited list of types. The first of these is the type toggled by the enable argument, while the reast are tested to see if they were more recently made the current selection type.
enable
Returns 1 if the first type in the list is current, and 0 if not. Set to 1 to create a toggle button that turns the first type in the list on and off, as well as turning off when another selection mode from the list is selected.
|
||
| Example Code | ||
|
select.typeFrom "vertex;edge;polygon;item" 1
|
||
| Remarks | ||
|
None
|
||
| Queryable? Unknown |