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
Number of elements in this list
public int Count { get; }

DisplayFeedbackEnabled

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

GripCount

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

GripOwnerCount

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

Methods

Add

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

Add

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

AddObjects

#Since v6.0
Add objects to list with a GetObject
public int AddObjects(
go,
Setup the GetObject, i.e. prompt, geometry filter, allow pre/post select before passing it as an argument.
allowGrips
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
Remove all elements from this list
public void Clear()

Dispose

#Since v5.0
public void Dispose()

Dispose

#
protected virtual void Dispose(
disposing
)

GetBoundingBox

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

GripArray

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

GripOwnerArray

#Since v6.0
Gets access to the internal GripOwner array of the TransformObjectList object.
public RhinoObject[] GripOwnerArray()
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
Gets access to the internal RhinoObject array of the TransformObjectList object.
public RhinoObject[] ObjectArray()
An array of Rhino objects, or an empty array if there were no Rhino objects.

UpdateDisplayFeedbackTransform

#Since v5.0
public bool UpdateDisplayFeedbackTransform(
xform
)