Is there a setting that would cause a xref to detach itself when the drawing is closed? I have an existing model, went through the time to relocate all the attachments.
Once everything is attached I save my work close it out and move to another area, when I open up the model I was working on before with all the attachments that I had located, the xrefs are no longer attached and I must redo all the work that was done previously.
I wanted to detach xrefs that having status File Not found from multiple drawings (fodlers and sub folders) without opening the drawing file.
- I am able to get all the dwg files from folders and subfodlers. - am able to find the xrefs that are working and the ones that arent
I am not able to detach the xrefs that are having the status FileNotfound. I dont know how to get the objectIds of those xrefs. I tried several ways...
Here is my
[CommandMethod("Dref")] public void detach_xref() { //get the document Document Doc = Application.DocumentManager.MdiActiveDocument; Editor ed = Doc.Editor;
I cant figure out why detach is not an option for an x-ref I have overlaid on my drg, there are other files attached to the x-ref in question, which I suspect is the issue.
A part of an application I'm writing involves detaching a specific xref of known filename and path from an open drawing. I'm having a surprising amount of trouble figuring out how to do this or finding any examples "out there" (A'desk forum, the googles, A'desk developer's guide). I have the code for attaching an xref, but detaching is presenting unexpected problems.
I'm attempting to bind an xref into a drawing. I keep getting an error message: "Some objects in the specified xref failed to bind." Any reason why some objects couldn't bind? I've thawed all layers in the drawings..
I have used PEDIT to join multiple polylines, which now appear as polylines. But when I use QSELECT to show all open (non-closed) section, one polyline still shows up as open.
I've attached the file I'm working on. The polyline in question is the green outline on the object on the right.
I am trying to bind an Xref into my working drawing. Whenever I try to perform this command, an error message appears that says "Some objects in the specified Xref(s) failed to bind." No list of objects has been provided. I have tried exploding, purging and auditing both the Xref and the working drawing to make sure there are no extranneous objects in the files, but the message keeps appearing.
When I either attach or overlay my Xrefs they always appear dark in my drawing; is this normal? If I open the file (that I am xreferencing in) it is very clear.
I have a drawing where I have placed all of my natural gas piping. I have all of the annotative blocks set to 3/32"=1'-0" and 1/32"=1'-0" scales. They are both correctly displayed in this drawing.
When I xref this drawing into another about half of the 1/32" blocks show up correctly. The other half are shifted to the right off of the plan. All of the 3/32" blocks show up correctly.
Any variables that would cause my XREF paths to change from Full Path to Relative Path when I save a drawing?
This is something that just started happening recently and has me completely at a loss. I haven't installed any patches or hot fixes recently and nothing else has changed that I'm aware of.
I have a number of drawings that I am working on that I need to xref in image files for backgrounds. I am working in MEP 2013. Initially I am loading the xref via the insert tab then "attach" command. It loads fine, shows up , I clip and adjust its location in the dwg, save and plot and close the dwg. The next time I go to work on the dwg I cannot see the xref only the link and when I go to reload it wont let me. I receive the error "not found." I end up having to detach the file and start over. When I attach the xref I am using relative path and overlay options.
Whilst closing autocad,I have managed to lose all the work I had created------! The file when opened just comes up blank and no back-up seems to exist.
Working in AutoCAD 2011. Unable to modify text once the text box is closed. I can only erase and re-write once closed. Bummer! When I re-select and double click on text, neither the box that typicallly encloses the text nor the "drop down box" w/ the various modifications that can be made appears. This includes new text just written since re-opening the file and existing text that was entered in previous sessions. I don't see anything that indicates that the text is "locked" or otherwise restricted from modification.
I need user to draw a closed ployline. Is it possible to use VBA to code a procedue that the effect looks like the WPolygon of select ?(2 rubber-band lines)
I drew a very complicated 2-D plot this afternoon. The most majority of the plot is composed of different straight lines, arcs. Then I used the polyline function to join them together to form a closed single polyline (Modify->object->polyline).
Later on I want to change something in part of the polyline. Then I used the 'pedit' again, I chose 'open'. But the whole polyline won't break into its original segments. I tried through all the menus, just cannot find the right tool for this purpose.
Does it mean I have to start over from scratch to redraw the whole plot?
I am not able to extrude closed polyline shapes. I get the following message:
Cannot create solid from open curve.
Cannot sweep or extrude non-planar objects.
Unable to extrude the selected object.
Other folks have opened my drawing – some can extrude, some get the same or similar message. I’ve tried re-building the shapes to extrude. It worked with one thing this morning and now it won’t extrude again.
A question about ex referencing. Can it be done within a drawing. In other words, can I can Xref the plan to another part of model space to then create the elevations in UCS, and then Exref the elevations from USC to a horizontal line.
This would be very useful in the sketch plan stage.
I have an operator here who has an XREF that he brought in and it did not line up as it should with the remainder of the drawing. He then went in to the drawing being XREF'ed and reset the origin so that it would line up properly. When he did so, the XREF did move but no to where he set the origin. The XREF is still showing the insertion point some place other than where he has the origin set on his XREF'ed drawing.
I have a main drawing that I want to pull into another drawing as an XRef. When I try and attach the drawing as an attachment I get then message *Invalid* in the command line.
I have taken the drawings off the network and put them directly on my computer to make sure that it is not a network issue, but I still cannot attach the drawing.
I've finished drawing my ground floor and now I need to draw my second floor. I read in a tutorial that the best way to do this is using the Xref command to know where is the walls, bathrooms and etc.
But I didn't get it at all. I need to draw my second floor in the same drawing. So what's the easiest way to do that?
After that I need to have a drawing with my second floor walls in dashed thin lines over my first floor. How can it be done?
I'm trying to get just the filename either with or without the .dwg extension for an xref given I already have its reference (BlockReference) and its model space (BlockTableRecord) all open for read; skipping accessing any BlockTable.
Im doing something like this:
Either get the XGraph and first node or prompt user for a block reference and check it's from attachmentStart active document's database transaction, get the BlockReference.Get the BlockTableRecord only with the BlockReference's BlockTableRecord-ObjectId property.At this point I can iterate through the model space and see the nuts and bolts of the xref drawing without actually changing anything after saving my drawing, even after committing a trasaction.So what I want to know is how to get the filename of the xref'ed drawing (i.e. Original_Drawing.dwg).
I'm looking at doing this without opening the referenced drawing as a side database and checking the filename.I can't debug right now, but is it. myBlockTableRecord.Database.OriginalFileName ?