3ds Max C++ API Reference
Loading...
Searching...
No Matches
Duplicate Node Name Actions

The following represent flags describing possible actions to be taken when merging nodes with names identical to the name of nodes already present in the scene. More...

Macros

#define MERGE_DUPS_PROMPT   0
 Prompt user when duplicate node names are encountered.
 
#define MERGE_DUPS_MERGE   1
 Merge nodes and keep old ones in the scene.
 
#define MERGE_DUPS_SKIP   2
 Do not merge nodes with duplicated names.
 
#define MERGE_DUPS_DELOLD   3
 Merge nodes and delete old ones from the scene.
 
#define MERGE_LIST_NAMES   4
 Causes a list of objects to be placed into mrgList parameter of Interface::MergeFromFile.
 
#define MERGE_LIST_ALL   5
 Causes a list of objects to be placed into dataList parameter of Interface::MergeFromFile.
 
#define MERGE_DUPS_RENAME   1000
 Merge nodes and automatically rename them.
 

Detailed Description

The following represent flags describing possible actions to be taken when merging nodes with names identical to the name of nodes already present in the scene.

These values can be passed to the Interface::MergeFromFile method's dupAction parameter and other methods as documented.

See also
Interface::MergeFromFile, IObjXRefManager8::SetDupObjNameAction

Macro Definition Documentation

◆ MERGE_DUPS_PROMPT

#define MERGE_DUPS_PROMPT   0

Prompt user when duplicate node names are encountered.

◆ MERGE_DUPS_MERGE

#define MERGE_DUPS_MERGE   1

Merge nodes and keep old ones in the scene.

◆ MERGE_DUPS_SKIP

#define MERGE_DUPS_SKIP   2

Do not merge nodes with duplicated names.

◆ MERGE_DUPS_DELOLD

#define MERGE_DUPS_DELOLD   3

Merge nodes and delete old ones from the scene.

◆ MERGE_LIST_NAMES

#define MERGE_LIST_NAMES   4

Causes a list of objects to be placed into mrgList parameter of Interface::MergeFromFile.

No actual merging will take place. The mergeAll parameter of Interface::MergeFromFile must be TRUE.

◆ MERGE_LIST_ALL

#define MERGE_LIST_ALL   5

Causes a list of objects to be placed into dataList parameter of Interface::MergeFromFile.

No actual merging will take place. The mergeAll parameter of Interface::MergeFromFile must be TRUE.

◆ MERGE_DUPS_RENAME

#define MERGE_DUPS_RENAME   1000

Merge nodes and automatically rename them.