Defines

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

Defines

#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

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