Description:
Constructs a new object that is the transformation of the existing object and deletes the existing object if deleteOriginal is true.
Parameters:
- objref
- Type: ObjRef
- reference to object to transform. The objref.Object() will be deleted if deleteOriginal is true.
- xform
- Type: Transform
- transformation to apply.
- deleteOriginal
- Type: bool
- if true, the original object is deleted if false, the original object is not deleted.
Returns:
Type: Guid
Id of the new object that is the transformation of the existing_object. The new object has identical attributes.
Remarks:
If the object is locked or on a locked layer, then it cannot be transformed.
Available since:
5.0
Description:
Constructs a new object that is the transformation of the existing object and deletes the existing object if deleteOriginal is true.
Syntax:
Parameters:
- obj
- Type: RhinoObject
- Rhino object to transform. This object will be deleted if deleteOriginal is true.
- xform
- Type: Transform
- transformation to apply.
- deleteOriginal
- Type: bool
- if true, the original object is deleted if false, the original object is not deleted.
Returns:
Type: Guid
Id of the new object that is the transformation of the existing_object. The new object has identical attributes.
Remarks:
If the object is locked or on a locked layer, then it cannot be transformed.
Available since:
5.0
Description:
Constructs a new object that is the transformation of the existing object and deletes the existing object if deleteOriginal is true.
Parameters:
- objectId
- Type: System.Guid
- Id of rhino object to transform. This object will be deleted if deleteOriginal is true.
- xform
- Type: Transform
- transformation to apply.
- deleteOriginal
- Type: bool
- if true, the original object is deleted if false, the original object is not deleted.
Returns:
Type: Guid
Id of the new object that is the transformation of the existing_object. The new object has identical attributes.
Remarks:
If the object is locked or on a locked layer, then it cannot be transformed.
Available since:
5.0