ObjectTableSelect Method (Guid, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean) |
Select or deselects a single object.
Namespace:
Rhino.DocObjects.Tables
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax public bool Select(
Guid objectId,
bool select,
bool syncHighlight,
bool persistentSelect,
bool ignoreGripsState,
bool ignoreLayerLocking,
bool ignoreLayerVisibility
)
Public Function Select (
objectId As Guid,
select As Boolean,
syncHighlight As Boolean,
persistentSelect As Boolean,
ignoreGripsState As Boolean,
ignoreLayerLocking As Boolean,
ignoreLayerVisibility As Boolean
) As Boolean
Parameters
- objectId
- Type: SystemGuid
Id of object to select. - select
- Type: SystemBoolean
If true, the object will be selected, if false, it will be deselected. - syncHighlight
- Type: SystemBoolean
If true, then the object is highlighted if it is selected
and unhighlighted if is not selected.
- persistentSelect
- Type: SystemBoolean
Objects that are persistently selected stay selected when a command terminates.
- ignoreGripsState
- Type: SystemBoolean
If true, then objects with grips on can be selected.
If false, then the value returned by the object's IsSelectableWithGripsOn() function
decides if the object can be selected when it has grips turned on.
- ignoreLayerLocking
- Type: SystemBoolean
If true, then objects on locked layers can be selected.
- ignoreLayerVisibility
- Type: SystemBoolean
If true, then objects on hidden layers can be selectable.
Return Value
Type:
Booleantrue on success, false on failure.
See Also