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)
public bool Select(
	ObjRef objref,
	bool select,
	bool syncHighlight,
	bool persistentSelect,
	bool ignoreGripsState,
	bool ignoreLayerLocking,
	bool ignoreLayerVisibility


Type: Rhino.DocObjectsObjRef
Object represented by this ObjRef is selected.
Type: SystemBoolean
If true, the object will be selected, if false, it will be deselected.
Type: SystemBoolean
If true, then the object is highlighted if it is selected and unhighlighted if is is not selected.
Type: SystemBoolean
Objects that are persistently selected stay selected when a command terminates.
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.
Type: SystemBoolean
If true, then objects on locked layers can be selected.
Type: SystemBoolean
If true, then objects on hidden layers can be selectable.

Return Value

Type: Boolean
true on success, false on failure.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also