Since when does saving a drawing also
save or modify external references ?
The only way to do that, is to open the
xref'd drawing as an AxDbDocument, make
the changes you need, and then save it.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006
http://www.acadxtabs.com
wrote in message news:5115197@discussion.autodesk.com...
I'm trying to update some XData in an XRef like so:
short[] keys = new short[]{1001, 1000};
object[] values = new object[]{"BWACAD", "MyString"};
xref.Database.Dictionaries.SetXData(keys, values);
I then save the document containing the XRef. It doesn't seem to hold the values when I reopen the XRef.
Am I setting the XData improperly? What I want is to have the external file hold the XData and be able to reread it again.
So I will have multiple XRefs in a document with their own XData and I want to be able to update them separately and save the XRef document separately.
Any help?