Description:

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

Syntax:
public Guid Transform(
ObjRef objref,
Transform xform,
bool deleteOriginal
)
Parameters:
  • objref
  • Type: ObjRef
  • reference to object to transform. The objref.Object() will be deleted if deleteOriginal is true.
  • 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:
public Guid Transform(
RhinoObject obj,
Transform xform,
bool deleteOriginal
)
Parameters:
  • obj
  • Type: RhinoObject
  • Rhino object to transform. This object will be deleted if deleteOriginal is true.
  • 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:
public Guid Transform(
Guid objectId,
Transform xform,
bool deleteOriginal
)
Parameters:
  • objectId
  • Type: System.Guid
  • Id of rhino object to transform. This object will be deleted if deleteOriginal is true.
  • 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

Nothing found