3ds Max C++ API Reference
Loading...
Searching...
No Matches
Auxiliary File Enumeration Flags

Some scene entities depend on data files other then .max files. More...

Macros

#define FILE_ENUM_INACTIVE   (1<<0)
 Enumerate inactive files.
 
#define FILE_ENUM_VP   (1<<1)
 Enumerate video post files.
 
#define FILE_ENUM_RENDER   (1<<2)
 Enumerate render files.
 
#define FILE_ENUM_ALL   (FILE_ENUM_INACTIVE|FILE_ENUM_VP|FILE_ENUM_RENDER)
 Enumerate ALL files.
 
#define FILE_ENUM_FILE_SAVE   (1<<3)
 Enumerate references to be saved to scene files.
 
#define FILE_ENUM_MISSING_ONLY   (1<<8)
 Enumerate missing files only.
 
#define FILE_ENUM_1STSUB_MISSING   (1<<9)
 Just enumerate 1st missing sub file, for example frame files specified by IFL and point cache .xml, if enumerating missing files.
 
#define FILE_ENUM_DONT_RECURSE   (1<<10)
 Do not enumerate references.
 
#define FILE_ENUM_CHECK_AWORK1   (1<<11)
 Do not enumerate things with flag A_WORK1 set.
 
#define FILE_ENUM_DONTCHECK_CUSTATTR   (1<<12)
 Do not enumerate custom attributes.
 
#define FILE_ENUM_SKIP_VPRENDER_ONLY   (1<<13)
 Do not enumerate files needed only for viewport rendering.
 
#define FILE_ENUM_ACCESSOR_INTERFACE   (1<<14)
 The callback object passed through is an IEnumAuxAssetsCallback derived object.
 
#define FILE_ENUM_RESERVED_1   (1<<15)
 FILE_ENUM_RESERVED_1 was marked as internal use only, was used to skip IFL sub files.
 
#define FILE_ENUM_SKIP_SUB_FILES   FILE_ENUM_RESERVED_1
 Do not enumerate sub files, for example frame files specified by IFL and point cache .xml.
 
#define FILE_ENUM_MISSING_ACTIVE   (FILE_ENUM_VP|FILE_ENUM_RENDER|FILE_ENUM_MISSING_ONLY)
 Enumerate all active but missing files.
 
#define FILE_ENUM_MISSING_ACTIVE1   (FILE_ENUM_MISSING_ACTIVE|FILE_ENUM_1STSUB_MISSING )
 Enumerate all active but missing files.
 

Detailed Description

Some scene entities depend on data files other then .max files.

These files are referred to as "auxiliary" files. The following are flags that used to customize the enumeration of these files. See Animatable::EnumAuxFiles(), ReferenceMaker::EnumAuxFiles() and Interface::EnumAuxFiles() for more details. Sample code that implements the EnumAuxFiles and handles both accessor and non-accessor handling of assets, and the handling of sub files is in /maxsdk/samples/modifiers/pointcache/PointCache.cpp.

Macro Definition Documentation

◆ FILE_ENUM_INACTIVE

#define FILE_ENUM_INACTIVE   (1<<0)

Enumerate inactive files.

Inactive files are those that aren't being used currently. For instance, a texture map file that is present, but not activated in the materials editor user interface, is considered inactive.

◆ FILE_ENUM_VP

#define FILE_ENUM_VP   (1<<1)

Enumerate video post files.

◆ FILE_ENUM_RENDER

#define FILE_ENUM_RENDER   (1<<2)

Enumerate render files.

◆ FILE_ENUM_ALL

#define FILE_ENUM_ALL   (FILE_ENUM_INACTIVE|FILE_ENUM_VP|FILE_ENUM_RENDER)

Enumerate ALL files.

◆ FILE_ENUM_FILE_SAVE

#define FILE_ENUM_FILE_SAVE   (1<<3)

Enumerate references to be saved to scene files.

◆ FILE_ENUM_MISSING_ONLY

#define FILE_ENUM_MISSING_ONLY   (1<<8)

Enumerate missing files only.

◆ FILE_ENUM_1STSUB_MISSING

#define FILE_ENUM_1STSUB_MISSING   (1<<9)

Just enumerate 1st missing sub file, for example frame files specified by IFL and point cache .xml, if enumerating missing files.

Trying to resolve missing files can be slow. If all that is really cared about is whether any sub files are missing, specify this option.

◆ FILE_ENUM_DONT_RECURSE

#define FILE_ENUM_DONT_RECURSE   (1<<10)

Do not enumerate references.

◆ FILE_ENUM_CHECK_AWORK1

#define FILE_ENUM_CHECK_AWORK1   (1<<11)

Do not enumerate things with flag A_WORK1 set.

◆ FILE_ENUM_DONTCHECK_CUSTATTR

#define FILE_ENUM_DONTCHECK_CUSTATTR   (1<<12)

Do not enumerate custom attributes.

◆ FILE_ENUM_SKIP_VPRENDER_ONLY

#define FILE_ENUM_SKIP_VPRENDER_ONLY   (1<<13)

Do not enumerate files needed only for viewport rendering.

If the flag is set, then any files that are needed only for viewport display (not for rendering) will be excluded from the enumeration. This is useful in network render mode, when you do not want to consider a render a failure just because some viewport-only files are missing.

◆ FILE_ENUM_ACCESSOR_INTERFACE

#define FILE_ENUM_ACCESSOR_INTERFACE   (1<<14)

The callback object passed through is an IEnumAuxAssetsCallback derived object.

◆ FILE_ENUM_RESERVED_1

#define FILE_ENUM_RESERVED_1   (1<<15)

FILE_ENUM_RESERVED_1 was marked as internal use only, was used to skip IFL sub files.

◆ FILE_ENUM_SKIP_SUB_FILES

#define FILE_ENUM_SKIP_SUB_FILES   FILE_ENUM_RESERVED_1

Do not enumerate sub files, for example frame files specified by IFL and point cache .xml.

◆ FILE_ENUM_MISSING_ACTIVE

#define FILE_ENUM_MISSING_ACTIVE   (FILE_ENUM_VP|FILE_ENUM_RENDER|FILE_ENUM_MISSING_ONLY)

Enumerate all active but missing files.

◆ FILE_ENUM_MISSING_ACTIVE1

#define FILE_ENUM_MISSING_ACTIVE1   (FILE_ENUM_MISSING_ACTIVE|FILE_ENUM_1STSUB_MISSING )

Enumerate all active but missing files.

But only enumerate first sub file pointed to by an IFL (Image File List) or other asset with sub files

Note
Enumerating all of them can be very slow.