3ds Max C++ API Reference
iXRefObjRecord.h File Reference
#include "../iFnPub.h"
#include "iXrefItem.h"
#include "../tabtypes.h"

Classes

class  IObjXRefRecord
 Class for managing an object xref record. More...
 
class  IObjXRefRecord16
 This interface extends IObjXRefRecord interface. More...
 

Macros

#define IID_XREF_OBJ_RECORD   Interface_ID(0x1a457bd1, 0x7584ff0)
 Id for IObjXRefRecord interface. More...
 

Typedefs

typedef unsigned long XRefRecordHandle
 Xref record handle type. More...
 

Variables

const XRefRecordHandle kNullXRefRecordHandle = 0
 This represents the value of an invalid xref record handle. More...
 

Macro Definition Documentation

◆ IID_XREF_OBJ_RECORD

#define IID_XREF_OBJ_RECORD   Interface_ID(0x1a457bd1, 0x7584ff0)

Id for IObjXRefRecord interface.

Typedef Documentation

◆ XRefRecordHandle

typedef unsigned long XRefRecordHandle

Xref record handle type.

Xref record pointers could be invalidated by operations performed on xref records or xref items, thus it is not recommended to cache them for later use. Xref record handles overcome this limitation. They can be cached and used for retrieving xref records in a safe way. Xref record handles are guaranteed to be unique for all xref records within the current scene, but they are not persisted so any handles cached by client code become invalid after a new file is loaded. Client code should not persist these handles.

Variable Documentation

◆ kNullXRefRecordHandle

const XRefRecordHandle kNullXRefRecordHandle = 0

This represents the value of an invalid xref record handle.