XRefAtmosWrapper

Instances of this class are used to XRef atmospheric effects from external .MAX files. Available in 3ds Max 8 and higher.

Constructor:

Class instances not creatable by MAXScript 

   

XRefAtmosWrapper interfaces:

Interface:IXRefItem 

Properties:

.srcFileName : filename : Read   

Contains the source file name.Read-only.

   

.srcItemName : string : Read 

Contains the name of the source item.Read-only.

   

.xrefRecord : Interface : Read 

Contains the XRef record Interface.Read-only.

   

.unresolved : bool : Read 

Contains true if the XRef is unresolved, false otherwise. Read-only.

   

.nested : bool : Read 

Contains true if the XRef is nested, false otherwise. Read-only.

   

Methods:

<maxObject>GetSrcItem resolveNested:<bool> 

resolveNested default value: false 

Returns the source item object of the XRef Object. If the object is being referenced from nested files (in other words, the object is referenced from a Max file containing an XRef of the object from another file instead of the actual object) and resolveNested is set to true, nested XRef files will be resolved.

   

<DWORD>GetParentItems <&maxObject array>parentItems 

parentItems is Out parameter 

Returns an array of parent items in the by-reference Out parameter.

   

<DWORD>GetRootItems <&maxObject array>rootItems 

rootItems is Out parameter 

Returns an array of root items in the by-reference Out parameter.

   

<DWORD>GetChildItems <&maxObject array>childItems 

childItems is Out parameter 

Returns an array of child items in the by-reference Out parameter.

   

<void>GetNodes <&node array>xrefNodes 

xrefNodes is Out parameter 

Returns an array of XRef nodes in the by-reference Out parameter.

   

Interface:IXRefProxy 

Properties:

.proxyFileName : filename : Read 

Contains the proxy file name.Read-only.

   

.proxyItemName : string : Read 

Contains the proxy item name.Read-only.

   

.proxyRecord : Interface : Read 

Contains the proxy record Interface.Read-only.

   

.displayProxy : bool : Read|Write 

When set to true, the proxy will be used in the viewport.

   

.renderProxy : bool : Read|Write 

When set to true, the proxy will be used by the production renderer.

   

Interface:IXRefAtmospheric 

Methods:

<maxObject>GetSourceAtmospheric <bool>resolveNestedXRef 

Returns the source atmospheric object. If resolveNestedXRef is set to true, nested XRef files will be resolved.