AutoCAD .NET :: How To Get Direct XRef Of Particular Drawing

May 25, 2012

Suppose I have a Drawing Structure like:

MasterRoot
    Root1
        MasterChild1
            Child
        MasterChild2
            Child
    Root2
        MasterChild1
            Child
        MasterChild2
            Child

When I use XrefGraph xg = mainDb.GetHostDwgXrefGraph(true); in Code then I get all the Files as a node including MasterRoot (say count=6).

If I want to get Only direct Children (here, Root1 and Root2)(means count=2 only), then what i have to do?

View 6 Replies


ADVERTISEMENT

AutoCad :: XRef Within A Drawing

Jul 15, 2013

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.

View 9 Replies View Related

AutoCAD LT :: Inserting A Drawing To Xref

May 29, 2012

Is there any advantage when inserting someone else drawing into  yours  to xref it rather than copy and pasting into your drawing?

View 1 Replies View Related

AutoCad :: Origin Set On XREF Drawing

Jan 21, 2005

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.

View 6 Replies View Related

AutoCAD LT :: Attaching Drawing As XRef?

Jun 20, 2012

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.

View 1 Replies View Related

AutoCAD 2010 :: Bind An Xref Into A Drawing

Feb 7, 2012

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..

View 3 Replies View Related

AutoCad :: Drawing Second Floor - Xref Command?

Aug 26, 2012

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?

View 5 Replies View Related

AutoCAD .NET :: Xref Original File Name Of Drawing?

Jan 30, 2013

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 ?

View 1 Replies View Related

AutoCad :: What Is Command To Create XRef From Drawing

Feb 1, 2013

What is the command to create an X-Ref from my drawing?

View 9 Replies View Related

AutoCad :: Wrong Scale On Xref Drawing?

Aug 2, 2011

I make a drawing1 with layers on it and then I made another drawing2. I Xref the drawing 1 as my reference , where I put the column of the building. When I open drawing 2 referencing drawing 1, my scale is different. my inches scale is becoming feet when referencing in drawing 2. I put the same LTscale and limits in both drawing

View 4 Replies View Related

AutoCad 2D :: Xref One Drawing Into Other And View Scale Changes

Aug 22, 2013

How does it work? I see in the properties after I high lite it. Annotative Scale no/yes. We xref one drawing into other drawing and the view scale changes. will my hatch look the same or will the smaller view scale look really big in the drawing.

View 1 Replies View Related

AutoCad :: Unable To Detach Xref From Drawing

Oct 6, 2008

I'm trying to detach an Xref from my drawing, and it says xref "has multiple references. Not detached."

View 9 Replies View Related

AutoCad :: Xref Binding - Whole Drawing Disappear

Oct 24, 2011

Im using autocad 2008 and i'm having difficulty in binding xref. i've been usign autocad for 3years now but sad to say, it's my first time to try binding xref.

So here's the scene, got xref file, then bind it, and then the whole xref drawing disappear but the xref filename is still in the list at the xref pallette? What should i do?

View 9 Replies View Related

AutoCAD 2010 :: Detach Xref When Drawing Closed

May 29, 2012

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.

View 3 Replies View Related

AutoCAD Civil 3D :: Toggling Corridors In XREF Drawing

Jun 19, 2013

Is there a way to toggle visibility of a corridor in a drawing where the model has been Xref'd into? The problem I am having is that we have one Model drawing that has a corridor.This Model is xref'd into multiple drawings.  Not all drawings should show the corridor.

The only way I have found so far is to go into model and toggle the corridor on and off depending on which drawing I want to print or view.  It creates problems when you want to run a Publish of multiple drawings because you always have to goof with the Model file.  This seems a bit of a step back from being able to toggle visibility of objects in a drawing file with an xref atached and leaving it that way and ready to be printed at any time.

View 4 Replies View Related

AutoCAD Civil 3D :: Cannot Xref Or Insert PDFs Into Drawing

Nov 4, 2013

I’m having a user profile issue on one computer. I have a user, using windows 7 and AutoCAD Civil 3D 2014 on his work station. When using Civil 3D he has two issues: one, he cannot import Dgn’s. I’ve tried everything it just won’t work. Second, he cannot xref or insert PDF’s into a drawing. Now the reason why I say this is a profile issue is because if I log on to his computer (or anyone else log’s on his computer), I can do all those things in Civil 3D, import DGN’s & insert/xref PDF’s. If this user log’s on my computer, he can do all those things in Civil 3D. Import DGN’s & insert/xref PDF’s. Something with his profile on his computer is corrupt and I’m trying to fix it without deleting and creating another user profile.

View 5 Replies View Related

AutoCAD Civil 3D :: Detach Xref Without Opening Drawing

Jul 30, 2012

How to do this?

Civil 3D 2012 SP2

View 9 Replies View Related

AutoCad :: Xref Barely Visible When Printing Drawing

Jun 13, 2011

I am using MEP 2012, I have arch back rounds on in a Xref. Everything seems to be fine and work well. When we go to print the drawing on with the xref on it is barely visible. If I open the xref up and print it comes out fine. I have inserted the xref to its own layer.I do not know what to do from here.

View 9 Replies View Related

AutoCAD .NET :: Updating Xref Path Without Opening Drawing?

Aug 6, 2012

I am building a plugin which needs to change the xref path within a drawing without opening it.

here is my. I am new to .Net c#

[CommandMethod("refremap")]
public void refremap() // This method can have any name
{
//Get the document
Document Doc = Application.DocumentManager.MdiActiveDocument;
Editor ed = Doc.Editor;

[code]....

View 4 Replies View Related

AutoCad :: Deleted Xref Layers Appear In Host Drawing

Oct 10, 2013

I have a number of layout tabs with varying layer controls applied in multiple viewports. This layout may be made up of a number of xrefs. I end up with a lot of layers in the host drawing from the xrefs, and even after I purge the xrefs to eliminate some of the xrefs, the layers remain in the host drawing, even though they no longer exist.

Is there any way to update the xref definitions to get rid of the layers without losing the layer setups I have? VISRETAIN is set to 1, and if I reset it to 0, I will lose all of the viewport controls I have put in place.

View 6 Replies View Related

AutoCAD Architecture :: XRef Objects Not Showing In Drawing

Dec 11, 2013

I have a drawing done in AutoCAD Architecture 2013.  Most of it is just lines, but I have a couple of Walls with Doors.  It looks fine in the base drawing but when I xref into another file the walls revert to their original color and the doors have disappeared.  The opening is there but no door.

I tried xredit and the doors are there but when I close that they are gone again.  Tried detaching and reattaching...still have the problem.

After I posted this tried Display Configuration.  Clicking all options for Doors gives me the doors...in a closed position, not the same as in the base plan.

View 1 Replies View Related

AutoCad :: Unlock Xref To Modify Mechanical Drawing

Oct 27, 2013

I am having trouble with a locked xref. I would like to unlock it so that I can modify for my mechanical drawing. The architectural drawing is provided in xref form from the architect and he has not left it open.

Is there a simple way I can unlock it so that I can modify it without going back to the arch?

I am currently using 2008.

View 5 Replies View Related

AutoCad :: XRef Colour - Drawing Shaded Dark

Sep 23, 2009

I have inserted an xref but when it shows on my drawing the whole thing is shaded dark. When I look at the xref the colours are fine, until its on my drawing. I inserted it on its own layer.

Does it matter what colour I assign to that layer? I tried different colours but it changes nothing. What does that allocated colour determine?

View 8 Replies View Related

AutoCAD 2010 :: Xref Bind Into Working Drawing

Feb 10, 2010

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.

View 6 Replies View Related

AutoCad :: Freezing Items In XREF Drawing That Are On Layer 0

Nov 8, 2011

I have a drawing with an XREF in it and both drawing have items on layer 0. Is there a way of freezing the items in the XREF drawing that are on layer 0 but still layer 0 on in my drawing?

View 8 Replies View Related

AutoCAD 2010 :: Xref Appear Dark After Insertion Into Main Drawing?

Sep 5, 2013

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. 

View 3 Replies View Related

AutoCAD .NET :: Unable To Detach FileNotFound Xref Without Opening Drawing

Jul 29, 2012

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;

[Code] .....

View 4 Replies View Related

AutoCAD Civil 3D :: XRef Base Drawing - Scale Factor Always Comes Up To Be 12

Nov 28, 2012

I am trying to xref a base drawing. But everytime I insert the drawing, the scale factor always comes up to be 12. I tried changing it, but it won't let me. I have attached an image of the problem I am getting.

View 1 Replies View Related

AutoCAD 2010 :: Block Insert Point Is Different On Drawing Than On Xref

May 4, 2012

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.

View 9 Replies View Related

AutoCad :: XRef Overlay - Crosshairs With Circles Appear Dotted On Drawing

Mar 4, 2011

When I insert a X-ref overlay, everything seems to work, but giant cross hairs with a circles appear dotted all around on the X-refed drawing, similar to spot levels (minus the hatch).

Attached an image X-ref image.jpg

How to stop this or why it seems to be scaling up the crosshairs .

View 8 Replies View Related

AutoCAD 2013 :: Unreferenced Xref When 2012 Drawing Open

Oct 29, 2012

Just got the upgrade from 2012 to 2013 AutoCAD. When I opened the file from 2012 to 2013 for editing, my sub-xref  file become "Unreferenced". The main Xref is loaded and fine. I tried to reload it but it doesn't work, and only its text path that are shown in there. It seems that the sub-xref  file is in the right path when I trying to verify it location. So, what I did was use my old 2010 Autocad to finish my task which work fine. Why my sub-xref is in "unreference"condition using 2013 AutoCAD.?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved