List of Animatable Flags

3DS Max Plug-In SDK

List of Animatable Flags

The following flags are bits of the aflag data member of class Animatable. See methods Animatable::ClearAFlag(), SetAFlag() and TestAFlag() to work with these flags.

A_EVALUATING

This is used internally.

A_NOTIFYDEP

This is used internally.

A_CHILD_TREE_OPEN

This indicates the item is a node and its children are opened up in the track view.

A_SUBANIM_TREE_OPEN

This indicates the sub-anims of the item are opened up in the track view.

A_OBJECT_REDUCED

This is used internally.

The following flags depends on the various sub-classes:

Atmospheric flags

A_ATMOS_DISABLED

The atmosphere effect is disabled.

Object flags

A_OBJ_CREATING

The object is being created. It doesn't want to snap to itself.

Modifier flags

A_MOD_DISABLED

The modifier is disabled.

A_MOD_BEING_EDITED

The modifier is being edited.

A_MOD_USE_SEL

This is not used any longer.

ModApp flags

A_MODAPP_DISABLED

This is used internally.

A_MODAPP_BEING_EDITED

This is used internally.

A_MODAPP_SELECTED

This is used internally.

A_MODAPP_DISPLAY_ACTIVE

This is used internally.

A_MODAPP_DYNAMIC_BOX

This is used internally.

Derived Object Flags

A_DERIVEDOBJ_DONTDELETE

This is used internally.

Control flags

A_ORT_MASK

This is used internally.

A_ORT_BEFORESHIFT

Bits 5, 6 and 7.

A_ORT_AFTERSHIFT

Bits 8, 9, 10.

A_CTRL_DISABLED

This is used internally.

A_ORT_DISABLED

Indicates that the out of range type is disabled.

INode flags

A_INODE_IK_TERMINATOR

Terminates the top of an IK chain

A_INODE_IK_POS_PINNED

The position is pinned.

A_INODE_IK_ROT_PINNED

The rotation is pinned.

ToneOperator flags

A_TONEOP_DISABLED

The exposure control is disabled.

A_TONEOP_PROCESS_BG

The exposure control processes the background.

Flags for Hold and Restore logic, for "lazy holding", to avoid multiple holding.

A_HELD

Typically a plug-in would not hold unless this flag was not set. Then set it once it has held something, then clear it once EndHold() is called on the RestoreObj. This will keep it from putting multiple restore objects in one cycle. See Undo/Redo for more details.

A_SET

This is similar to above except this is used by controllers.

A_IS_DELETED

This is used internally.

A_BEING_AUTO_DELETED

This is used internally.

Reserved for superclass use

A_SUPERCLASS1

This is used internally.

A_SUPERCLASS2

This is used internally.

These are reserved for use by plug-ins for any purpose they need. No other plug-in will set these flags.

A_PLUGIN1

A_PLUGIN2

A_PLUGIN3

A_PLUGIN4

A_DEPENDENCY_TEST

This is used internally.

A_LOCK_TARGET

Setting this flag will keep an item from being deleted when you delete a reference to it. For example, if you need to swap references for two items. For instance, say you have two nodes and two objects and you want to swap the object reference of the nodes. If you simply call ReplaceReference() on one node with the other node's object, the old object will get deleted because nothing else is referencing it anymore. By setting this flag temporarily you can keep it from being deleted and perform the swap.

The following work flags may be used by plug-ins but it is not guaranteed that they will remain unaltered by someone else. Therefore they are only used for temporary storage.

A_WORK1

A_WORK2

A_WORK3

A_WORK4