Search the Community
Showing results for tags 'external reference'.
DRAFTOLOGIST posted a topic in AutoCAD 2D Drafting, Object Properties & InterfaceHas anyone experience this or know why this happens? dwg A is x-refed to dwg B. am working on dwg B & click on x-ref and go into Edit reference in place. if I now click on > any object and go into properties & change the color from bylayer to red (for example) and save changes. -everything works fine and when i come out - the drawing B display red colour. -which is ok > however if i click on x-ref and go into Edit reference in place.if I now click on a layer and change its colour from pink to red. all the objects change colour to red. but when i save changes and come out to DWG B the colour of layer donot chage ,, stays pink (Visretain =1 , but i don't think its to do with that)
Hello, I had to update some drawings from AutoCAD 2007 and each of these drawings has at least 7 XRef files attached to it. Each of these files have about the same number of XRef files attached to them as well. These drawings keep going this way for about 3 more layers. I copied all of the CAD files together (125 dwg files) into a new folder. I am using AutoCAD LT 2012. I opened each file to make sure each drawing is intact. Each drawing opened perfectly. However, when I saved each drawing, closed it and then opened it again to start editing things in the Current drawing, some of the XRefs were no longer attached, loaded or referenced. Every time I open a drawing now, most of the XRef files have a status of Unloaded, Unreferenced or Not Found. The Loaded and Attached XRef files change when I close the drawing and open it again. The Path is saved correctly for most of the missing XRef drawings, but when I use the drop down "Found At" field to apply the path again, it still does not find the drawings. A few of the XRef files have no path at all. I have also tried to Attach the file again instead of updating the path, but it does not create a new XRef and when I open each drawing again, the same thing happens. I have updated the path for the Unloaded XRef files and they reload successfully, but when I save and open the drawing again, they are Unloaded again or sometimes Not Found. I have gotten to the point of opening the actual drawing of the XRef and copying into my current drawing just to not deal with the issue because I have to get things done and make progress. I need a lot of help to solve this because I have 14 more floors in this building and I cannot temporarily fix each one. Thank you in advance to everyone who helps. I truly appreciate it. Have a great day.
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?
zetazee posted a topic in .NET, ObjectARX & VBAHi, I am developing an simulation application, leveraging on using Space objects and applied additional Property Set Definitions for Space objects where I introduced a new Property "Value". I applied a display theme to my DWG, and based on the value of the Property, different colours wil be displayed according to the display theme. For a single DWG file containing the building, I am able to simulate the colour changes by updating the “Value” Property in the Spaces using .NET APIs functions such as PropertySet.SetAt, and commiting the transasction. However, one building can consist of many different levels, and I have split up the modeling of the building into its separate levels. For example, a 3 storey building, I will have 3 DWG files for each individual levels. A main empty DWG was then used to XREF the 3 levels, to combine the different levels into a whole building. I would like to simulate such colour change through the main DWG which references my individual level DWGs. Any idea what .NET API I can use to access the XREF DWGs in my main DWG, so that I can update the "Value" property in all my Space objects?