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

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. More...

Macros

#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.
 

Detailed 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

Macro Definition Documentation

◆ MERGE_DUP_MTL_PROMPT

#define MERGE_DUP_MTL_PROMPT   MERGE_DUPS_PROMPT

Prompt user when duplicate material names are encountered.

◆ MERGE_DUP_MTL_USE_MERGED

#define MERGE_DUP_MTL_USE_MERGED   MERGE_DUPS_DELOLD

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

◆ MERGE_DUP_MTL_USE_SCENE

#define MERGE_DUP_MTL_USE_SCENE   MERGE_DUPS_SKIP

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

◆ MERGE_DUP_MTL_RENAME

#define MERGE_DUP_MTL_RENAME   MERGE_DUPS_RENAME

Merge material and automatically rename them.