Click or drag to resize
ObjectTableSelect Method (ObjRef, Boolean, Boolean, Boolean, Boolean, Boolean, Boolean)
Select or deselects a single object.

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public bool Select(
	ObjRef objref,
	bool select,
	bool syncHighlight,
	bool persistentSelect,
	bool ignoreGripsState,
	bool ignoreLayerLocking,
	bool ignoreLayerVisibility
)

Parameters

objref
Type: Rhino.DocObjectsObjRef
Object represented by this ObjRef is selected.
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 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: Boolean
true on success, false on failure.
See Also