TransformObjectList

References
A collection of Rhino object, grip objects, and the Rhino objects that owns the grips. Used by the TransformCommand and GetTransform classes.

Constructors

TransformObjectList

#Since v5.0
public TransformObjectList()

Finalizer

~TransformObjectList

#
~TransformObjectList()

Properties

Count

#Since v5.10
public int Count { get; }
Number of elements in this list

DisplayFeedbackEnabled

#Since v5.0
public bool DisplayFeedbackEnabled { get; set; }

GripCount

#Since v6.0
public int GripCount { get; }
Number of elements in grip list

GripOwnerCount

#Since v6.0
public int GripOwnerCount { get; }
Number of elements in grip owner list

Methods

Add

#Since v5.10
public void Add(ObjRef objref)
Add an ObjRef to this list. Use this to add polyedges so the references are properly counted
objref (ObjRef)

Add

#Since v5.10
public void Add(RhinoObject rhinoObject)
Add a RhinoObject to this list
rhinoObject (RhinoObject)

AddObjects

#Since v6.0
public int AddObjects(GetObject go, bool allowGrips)
Add objects to list with a GetObject
go (GetObject)Setup the GetObject, i.e. prompt, geometry filter, allow pre/post select before passing it as an argument.
allowGrips (bool)Specifically allow grips to be selected. if true, grips must also be included in geometry filter of the GetObject in order to be selected.
Number of objects selected.

Clear

#Since v5.10
public void Clear()
Remove all elements from this list

Dispose

#Since v5.0
public void Dispose()

Dispose

#
protected virtual void Dispose(bool disposing)
disposing (bool)

GetBoundingBox

#Since v5.0
public BoundingBox GetBoundingBox(bool regularObjects, bool grips)
Gets the bounding box of all of the objects that this list contains.
regularObjects (bool)true if any object except grips should be included; otherwise false.
grips (bool)true if grips should be included; otherwise false.
Unset BoundingBox if this list is empty.

GripArray

#Since v6.0
public GripObject[] GripArray()
Gets access to the internal GripObject array of the TransformObjectList object.
An array of grip objects, or an empty array if there were no grip objects.

GripOwnerArray

#Since v6.0
public RhinoObject[] GripOwnerArray()
Gets access to the internal GripOwner array of the TransformObjectList object.
A n array of Rhino objects that are the owners of the grip objects the collection, or an empty array if there were no Rhino objects.

ObjectArray

#Since v7.0
public RhinoObject[] ObjectArray()
Gets access to the internal RhinoObject array of the TransformObjectList object.
An array of Rhino objects, or an empty array if there were no Rhino objects.

UpdateDisplayFeedbackTransform

#Since v5.0
public bool UpdateDisplayFeedbackTransform(Transform xform)
xform (Transform)