RhinoCommon API
ObjectTableTransformWithHistory Method (RhinoObject, Transform) |
Constructs a new object that is the transformation of the existing object
and records history of the transformation if history recording is turned on.
If history recording is not enabled, this function will act the same as
Transform(obj, xform, false)
Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll)
Since: 5.0

public Guid TransformWithHistory( RhinoObject obj, Transform xform )
Public Function TransformWithHistory ( obj As RhinoObject, xform As Transform ) As Guid
Parameters
- obj
- Type: Rhino.DocObjectsRhinoObject
Rhino object to transform. - xform
- Type: Rhino.GeometryTransform
transformation to apply.
Return Value
Type: GuidId 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.
