Attachment - superclass: PositionController; super-superclass:MAXWrapper - classID: #(-1155013103, -1490074649)
<attachment>.keys : MAXKeyArray
Returns the keys of the controller.
Get/set the node the controller is attaching to.
<attachment>.align : Booleandefault: true
Fixes the orientation of the attached object to the face where it’s assigned.
When this is turned off, the orientation of the attached object is not affected by the orientation of the face on the target
<attachment>.manupdate : Booleandefault: false
Enables the update button.
AttachCtrl.getKey <attachment> <index_integer>
Returns theindexed key as a MAXAKey value (NOT MAXKey - see notes below).
AttachCtrl.addNewKey <attachment> <time>
Returns the indexed key as a MAXAKey value (NOT MAXKey - see notes below)
Causes the controller to update if the manual update property is turned on for the attachment controller.
This method was previously broken but was fixed in 3ds Max 8.
Accessing a key of an attachment controller by indexing into the.keysproperty will return a
value. The only properties available for a key accessed in this manner are the
Instead, you can use the
method which returns a key of class
. This class provides access to the attachment controller key specific properties. See Attachment Controller Keys for details and examples.
All the common key functions like
, etc. can be used with Attachment controllers.