AutoCad :: What Is Command To Create XRef From Drawing
Feb 1, 2013What is the command to create an X-Ref from my drawing?
View 9 RepliesWhat is the command to create an X-Ref from my drawing?
View 9 RepliesI'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?
idsObjEntity-->collection of xref objects
private void CloneObjectIds(ObjectIdCollection idsObjEntity, String strFileName)
{
try
{
Database dbNew = new Database(true, false);
Autodesk.AutoCAD.DatabaseServices.TransactionManager tm = dbNew.TransactionManager;
[code].........
here i take the object id collection as xref filter by its layer name.i tried to clone the object in new dwg its shows Wrong database.
I am trying to insert OS Tiles into a drawing using the insert x-ref command. I have managed to insert 192 tiles but still need to add 29 more tiles to complete. When I try to insert another x reference AutoCAD just goes into a continual loop. Have to force AutoCAD to crash after ten minutes.
I am using AutoCAD 2014 MAP and have just had a new system built (i5 processor, 8GB RAM).
I am trying to xref a file in and when I select open through _XATTACH nothing happens. No subsequent dialog box opens up asking me to choose location, rotation, attach/bind, etc. The command just dies and I am back in my dwg.
AutoCAD LT 2011
AutoCAD Civil 3D 2012
I can use xrefs on different project but right now on autocaddLT 2014 it doesn't work.
View 9 Replies View Relatedwhat the command that controls the fade effect for xref's in LT '09?
View 2 Replies View RelatedI just tried to do an xref and the command stops everything. I get no reaction from autocad. What is wrong?
here is an update: The Xref Palette is docked to my left side and when I hover to get it to flip out I click the DWG button in the left hand upper corner. Well nothing happens from there. Now, when I type -xref the command works at the command line. How do I get the palette to work again?
While working in my topo drawing I used the "reverse" command to flip all my linetypes (water, over head wire, gas) to show correctly. My topo is x referenced into my utility drawing and my x reference lines will not flip. i have reloaded, i have closed and re opened, i have regenerated. No luck...
View 3 Replies View RelatedA 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.
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?
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 RelatedI 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 RelatedI 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'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 RelatedI'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 ?
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 RelatedHow 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 RelatedI'm trying to detach an Xref from my drawing, and it says xref "has multiple references. Not detached."
View 9 Replies View RelatedIm 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?
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.
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.
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 RelatedHow to do this?
Civil 3D 2012 SP2
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 RelatedI 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]....
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.
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.
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.
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?
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