how to get IIObjXRefRecord?

 
 
 
Posted by:SITT
Data created:14 May 2010

O_O

and how to updata all xrefobj and xref scene

System.NullReferenceException: 
     Autodesk.Max.Manager.UnloadAssembly(String name)

 

==============================

ITab<IIXRefObject> RefObjectList = null;
X_RefManager.GetAllXRefObjects(RefObjectList);

Try to use the xref manager:

IIXRefObject obj = global.IObjXRefManager8.Instance.GetRecord(...)

You need to use IIObjXRefManager8

Here's what the docs say:

Remarks:
This interface should be used instead of IObjXRefManager.

Marsel Khadiyev (Software Developer, EPHERE Inc.)