Selecting the Xref, how can I extract the entities belonging to that Xref, using ActiveX ?
|
|
|
Selecting the Xref, how can I extract the entities belonging to that Xref, using ActiveX ?
An Xref is a reference to another file. What do you mean "extract the entities belonging to that Xref"?
Could you be more specific?
If you have Express Tools Checl out the ncopy command
You can look in trexblk.lps and see how autocad did it in lisp
I think you would do it this way
step 1 get the AcadDatabase of the xRef
Step 2 make a array's of the object in the AcadDataBase you need
step 3 use the copyobject method to copy the array's of object
You will want to take a look at this routine I scooped from autodesk forum some time back.