UNDOTYPE

Detailed Description

Type list for document undos.

See also
BaseDocument::AddUndo(UNDOTYPE type, void* data, Bool allowFromThread = false)
BaseDocument::FindUndoPtr(BaseList2D* bl, UNDOTYPE type)

Enumerations

enum  UNDOTYPE {
  UNDOTYPE_0,
  UNDOTYPE_CHANGE,
  UNDOTYPE_CHANGE_NOCHILDREN,
  UNDOTYPE_CHANGE_SMALL,
  UNDOTYPE_CHANGE_SELECTION,
  UNDOTYPE_NEW,
  UNDOTYPE_DELETE,
  UNDOTYPE_ACTIVATE,
  UNDOTYPE_DEACTIVATE,
  UNDOTYPE_BITS,
  UNDOTYPE_HIERARCHY_PSR,
  UNDOTYPE_PRIVATE_STRING,
  UNDOTYPE_PRIVATE_MULTISELECTIONAXIS,
  UNDOTYPE_START,
  UNDOTYPE_END
}
 

Enumeration Type Documentation

§ UNDOTYPE

enum UNDOTYPE
Enumerator
UNDOTYPE_0 

None.

UNDOTYPE_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.)

UNDOTYPE_CHANGE_NOCHILDREN 

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

UNDOTYPE_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.)

UNDOTYPE_CHANGE_SELECTION 

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

UNDOTYPE_NEW 

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

UNDOTYPE_DELETE 

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

UNDOTYPE_ACTIVATE 

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

UNDOTYPE_DEACTIVATE 

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

UNDOTYPE_BITS 

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

UNDOTYPE_HIERARCHY_PSR 

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

UNDOTYPE_PRIVATE_STRING 

Private.

UNDOTYPE_PRIVATE_MULTISELECTIONAXIS 

Private.

UNDOTYPE_START 

Private.

UNDOTYPE_END 

Private.