string Attachment { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Attachment property is a string that represents the internal name of the key used to specify which attachment should be used as the parent for position and angles in the model editor. This property is part of the BaseTransformAttribute class, which is used to define transformation attributes for model components within the Sandbox environment.

Usage

Use the Attachment property to set or retrieve the internal key name for the attachment that will serve as the parent reference for positioning and orienting model components. This is particularly useful when you need to ensure that a model component is correctly aligned or attached to a specific part of another model.

Example

// Example of setting the Attachment property
BaseTransformAttribute transformAttribute = new BaseTransformAttribute();
transformAttribute.Attachment = "hand_attachment";

// Example of getting the Attachment property
string attachmentKey = transformAttribute.Attachment;
// Use attachmentKey to perform operations related to the attachment