Interface: objXRefs

Methods

<maxObject>addNewXRefObject <filename>fname <string>objname <integer>flags

The merge behavior is controlled by the bits set in flags:

Add as proxy 1 (value = 1)

Drop (ignore) modifiers 4 (value = 16)

Merge modifiers 5 (value = 32)

Merge manipulators 6 (value = 64)

The default behavior (flags = 0) is XRef the modifiers, XRef the manipulators

<integer>getNumXRefObjects <filename>fname

Returns the number of object XRefs contained in the file

<maxObject>getXRefObject <filename>fname <index>index

Returns the Nth XRef'ed object contained in the specified file

<integer>getNumFiles()

Returns the number of files that contain object XRefs

<filename>getFileName <index>index

Returns the file name of the Nth file that contains object XRefs

<boolean>reloadFile <filename>fname

Returns true if successful and false otherwise.

<boolean>isFileUnresolved <filename>fname

Returns true if successful and false otherwise.

<boolean>isFileDisabled <filename>fname

Returns true if successful and false otherwise.

<array>getAllXRefObjects()

Returns an array of all XRef Objects present in the current scene.

<integer>getEmptyXRefRecCount()

Returns the number of empty XRefs. Available in 3ds Max 8 and higher.

See also

Interface: objXRefMgr

XRefObject : Node

XRefScene Values

XRef Files