Description
The Origin
property of the BaseTransformAttribute
class is a string that represents the internal name of the key used to store the position of a helper object. When this property is set, it allows the helper to be moved within the model editor environment.
Usage
To use the Origin
property, assign it a string value that corresponds to the key you wish to use for storing the position of the helper. This enables the manipulation of the helper's position in the model editor.
Example
// Example of setting the Origin property
BaseTransformAttribute transformAttribute = new BaseTransformAttribute();
transformAttribute.Origin = "positionKey";
// This sets the internal key for the position, allowing the helper to be moved
string currentOrigin = transformAttribute.Origin;
// currentOrigin will be "positionKey"