Click or drag to resize

ObjectTableTransform Method (Guid, Transform, Boolean)

Constructs a new object that is the transformation of the existing object and deletes the existing object if deleteOriginal is true.

Namespace:  Rhino.DocObjects.Tables
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
public Guid Transform(
	Guid objectId,
	Transform xform,
	bool deleteOriginal


Type: SystemGuid
Id of rhino object to transform. This object will be deleted if deleteOriginal is true.
Type: Rhino.GeometryTransform
transformation to apply.
Type: SystemBoolean
if true, the original object is deleted if false, the original object is not deleted.

Return Value

Type: Guid
Id of the new object that is the transformation of the existing_object. The new object has identical attributes.
If the object is locked or on a locked layer, then it cannot be transformed.
See Also