UNDOTYPE

Detailed Description

Type list for document undos.

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

Enumerations

enum class  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, substructures, etc. Must be called before the change.

CHANGE_NOCHILDREN 

Same as UNDOTYPE::CHANGE but without child modifications. Must be called before the change.

CHANGE_SMALL 

Change to the local data of the node as its data container. Does not apply for changes on substructures as tags or child-nodes. Must be called before the change.

CHANGE_SELECTION 

Change to the point, polygon, or edge selection of the node. Must be called before the change.

NEWOBJ 

A new object, material, tag, or other classic API node instance has been inserted into the document. Must be called after the action.

DELETEOBJ 

An object, node, tag, or other classic API node instance is about to be deleted. Must to be called before action.

ACTIVATE 

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

DEACTIVATE 

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

BITS 

Change to object bits. 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  )