Jump to content

How to Access In Memory Copy of XREFs?


Recommended Posts

In AutoCAD Architecture Options > Open and Save Tab, there are the External Reference (Xrefs) options where by default Demand load Xrefs is “Enabled with Copy”, Retain changes to Xref layers, Allow other users to Refedit current drawing are checked.


May I enquire how is Xref handled internally by the AutoCAD software? Do AutoCAD internally makes a temporary copy of the referenced files, and hence when there are changes to the referenced files, a reload is required. Do correct my understanding if I am wrong.

If that is the case, may I enquire are there any .NET APIs that are able to access the in memory copy of the referenced DWGs if I am using the “Enabled with Copy” option for the Demand load Xrefs.


I have tried to change the Xrefs option Demand load Xrefs to “Enabled”, in hoping no file copy will be done, but our application was unable to overwrite the individual level DWG using the SaveAs function due to an eFileViolation error, as AutoCAD software is opening up the referenced DWGs.

If that is the case, may I enquire are there any .NET APIs to allow for AutoCAD Architecture to Save the DWG instead of the Application doing so?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...