Duplicate Material Name Actions

Duplicate Material Name Actions

Module description

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

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

See also
Interface::MergeFromFile, IObjXRefManager8::SetDupMtlNameAction

Macros

#define MERGE_DUP_MTL_PROMPT   MERGE_DUPS_PROMPT
 Prompt user when duplicate material names are encountered. More...
 
#define MERGE_DUP_MTL_USE_MERGED   MERGE_DUPS_DELOLD
 Merge material and replace all scene materials with the same name with the merged material. More...
 
#define MERGE_DUP_MTL_USE_SCENE   MERGE_DUPS_SKIP
 Don't merge material, use instead the scene material with the same name. More...
 
#define MERGE_DUP_MTL_RENAME   MERGE_DUPS_RENAME
 Merge material and automatically rename them. More...
 

Macro Definition Documentation

#define MERGE_DUP_MTL_PROMPT   MERGE_DUPS_PROMPT

Prompt user when duplicate material names are encountered.

#define MERGE_DUP_MTL_USE_MERGED   MERGE_DUPS_DELOLD

Merge material and replace all scene materials with the same name with the merged material.

#define MERGE_DUP_MTL_USE_SCENE   MERGE_DUPS_SKIP

Don't merge material, use instead the scene material with the same name.

#define MERGE_DUP_MTL_RENAME   MERGE_DUPS_RENAME

Merge material and automatically rename them.