string PlacementAttachment { get; set; }

robot_2Generated
code_blocksInput

Description

The PlacementAttachment property specifies the attachment point for a model piece within the ModelBreakPiece structure. This property is used to define where the piece should be attached in relation to other components or models, typically using a named attachment point defined in the model's data.

Usage

To use the PlacementAttachment property, assign it a string value that corresponds to the desired attachment point name. This name should match an attachment point defined in the model's data, allowing the piece to be correctly positioned when the model is rendered or manipulated.

Example

// Example of setting the PlacementAttachment property
ModelBreakPiece breakPiece = new ModelBreakPiece();
breakPiece.PlacementAttachment = "hand_attachment"; // Assigns the attachment point to 'hand_attachment'