UNDOTYPE

Detailed Description

Type list for document undos.

See also
BaseDocument::AddUndo() BaseDocument::FindUndoPtr()

Enumerations

enum  UNDOTYPE {
  NONE,
  CHANGE,
  CHANGE_NOCHILDREN,
  CHANGE_SMALL,
  CHANGE_SELECTION,
  NEWOBJ,
  DELETEOBJ,
  ACTIVATE,
  DEACTIVATE,
  BITS,
  HIERARCHY_PSR,
  PRIVATE_STRING,
  PRIVATE_MULTISELECTIONAXIS,
  START,
  END
}
 

Functions

enum UNDOTYPE MAXON_ENUM_LIST (UNDOTYPE)
 

Enumeration Type Documentation

◆ UNDOTYPE

enum UNDOTYPE
strong
Enumerator
NONE 

None.

CHANGE 

Any change to an object, including hierarchy modifications; modification in positioning (object has been moved from A to B), substructures etc. (Needs to be called before the change.)

CHANGE_NOCHILDREN 

Same as UNDOTYPE::CHANGE, but without child modifications. (Needs to be called before the change.)

CHANGE_SMALL 

Change to local data only (e.g. data container). No substructures (e.g. no tags on an object) and no children. (Needs to be called before the change.)

CHANGE_SELECTION 

Change to point/poly/edge selection only. (Needs to be called before the change.)

NEWOBJ 

New object/material/tag etc. was created. (Needs to be called after action.)

DELETEOBJ 

Object/node/tag etc. to be deleted. (Needs to be called before action.)

ACTIVATE 

Automatically managed by BaseDocument::SetActiveObject(), BaseDocument::SetActiveTag(), BaseDocument::SetActiveMaterial() etc. No need to use manually.

DEACTIVATE 

Automatically managed by BaseDocument::SetActiveObject(), BaseDocument::SetActiveTag(), BaseDocument::SetActiveMaterial() etc. No need to use manually.

BITS 

Change to object bits, e.g. selection status. (Needs to be called before the change.)

HIERARCHY_PSR 

Change in hierarchical placement and PSR values. (Needs to be called before the change.)

PRIVATE_STRING 

Private.

PRIVATE_MULTISELECTIONAXIS 

Private.

START 

Private.

END 

Private.

Function Documentation

◆ MAXON_ENUM_LIST()

enum UNDOTYPE MAXON_ENUM_LIST ( UNDOTYPE  )