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


ADVERTISEMENT

AutoCAD 2013 :: How To Insert DXF File To Drawing With Original Scale

Jun 19, 2012

I am working with surveying points and what I used to do was insert the dxf file containing the points to my drawing and they would be inserted with their correct scale. However, now in AutoCAD 2013, when I insert them they are in a different scale and I must adjust them. Is there anyway to have their original scale carry over in 2013?

View 4 Replies View Related

AutoCAD Civil 3D :: Restore All Original Settings For Drawing File?

Dec 27, 2012

I recently switched from Civil 3D 2012 to 2013 student version because when I initially installed the program I probably messed up some of the settings that I shouldn't have for my entire application. After reinstalling it, I noticed that the program seems to run just fine but the settings for the original file I'm trying to work with remain, such as label settings, linescales, etc.

I want my drawing to match the settings of new drawings when it comes to labels, scales, and anything else I might have changed. Is there a way to apply these settings to my original file? If not, is there a way to at least make sure the label styles can be reset? I don't want any changes to the settings I made to be present in my file.

View 4 Replies View Related

AutoCAD Civil 3D :: Temporary File (As XREF) Slows Drawing

May 9, 2013

I'm working on a rather large subdivision (not uncommon, certainly used to a longer-than-normal load time) but have found one of our XREF files to be bringing drawing loads to a screeching halt. We have XLOADCTL set to 2, which explains the creation of the temporary file.

I have previously gone into the file and reset the scale list, which speed things up by about 50%, but today it appears to be doing the same thing.

Is there anything I can do to prevent this from becoming a more serious problem? Can I add some sort of SCALELISTEDIT reset command to the acaddoc.lsp file?

Civil 3D 2014
Windows 7 Professional
Intel Xeon E31270 @ 3.4 GHz
8 GB, 64-bit

View 2 Replies View Related

AutoCAD .NET :: How To Create Collection Of Xref Objects Into New Drawing File

Oct 12, 2012

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.

View 1 Replies View Related

AutoCAD Architecture :: Computer Freeze / Search File To Make Xref Into Drawing

Oct 26, 2010

I have a few problems with my autoCAD 2010 version on my new computer.When I make a few hatches, there is a possibility that my entire computer freezes and the only way out is a hard shut down of my computer.

The same problem also appeared when I tried to open a drawing direct in autoCAD or when I search the file to make an exref into the drawing.

View 7 Replies View Related

AutoCAD Civil 3D :: Xref Layer Color (Back To Original)

May 24, 2013

Is there a way to revert back to the original colors of an xref besides having to reattach the xref and purging the DWG.

I always change the colors of the projects Existing site/utilty XREF to color 252 to shade it back to have the proposed show up darker. But I try to select all layers to change the colors back to what they were before and the box to set color by layer is not available.

View 5 Replies View Related

AutoCAD Dynamic Blocks :: Reference Retains Original Name Of Xref

Nov 25, 2013

I'm having a senior moment. When you substitute one xref with another, the reference retains the name of the original xref. However, there's a simple trick to update that reference to the new name - but I've forgotten it.

View 3 Replies View Related

AutoCad :: Loading Xref Causes Display Jumps In Original Model

Mar 25, 2013

The original model, in shade visual style, all objects are distinct and separate objects as they should be. However, when an xref is loaded (overlay) the model (display) jumps and the objects that were distinct now appear mingled together. Also, when you hover over an object it's highlight outline does not align with the object, it is offset from it approximately the amount of the display jump. I compared display and visual style settings from other model drawings that did not have this problem but came up with nothing that worked. More than one model drawing on this particular project created by another discipline has this problem, whereas on a previous project models by another discipline never had this problem and neither do models created within my dicipline.

View 0 Replies View Related

AutoCad :: Use Xref Manager To See Where Actual File For Xref Resides On Computer / Server

Nov 15, 2013

I know that in ACAD you can use the xref manager to see where the actual file for the xref resides on your computer/server/etc. What I'm curious about is whether or not the inverse action is possible. Can you somehow access the file (not the output sheet where it's being xref-ed) and see what other files are using it as an xref?

I've come in on a project that is nearing completion and have been assigned the task of "cleaning up the project folder." Unfortunately, there are a ton of files in the different folders that are no longer in use on the final output sheets and I need to keep the ones still in use and archive the ones that are no longer needed. What I've been doing is going through those sheets and reviewing the xref manager for each sheet to see which files are actually put onto those sheets and making a physical checklist from which to organize my findings. Once the checklist is made, I then archive all the files that are no longer being used.

View 9 Replies View Related

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 2010 :: Unable To Save File - Losing Original File Afterwards

Feb 12, 2013

I found this error a bit strange, my colleague it trying to save a file and this error keeps on coming out (see attachments). When we try to save it, it only saves as a temp file. When we try to open up the temp file and try to save it, it still doesn't allow us to do. Also, when we cancel the save, the original file will be gone and he will lost all of his data. Below are the specs of the computer and version of the AutoCAD.

Computer: DELL Precision T5500

OS: Windows 7 Ult

AutoCAD Version: 2011

Also, we're using ProSteel Series 3 as well. We tried saving the file using ProSteel and just AutoCAD but it didn't do the trick. I've tried some options (listed below) that might get it to work but still no luck.

1. Restart the computer.

2. Repair / Reinstall AutoCAD.

3. Give permission to the folder (read from the forum).

View 4 Replies View Related

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 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 :: 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 2D :: Copy Blocks From 1 Drawing To Another Using Paste To Original Coordinates

Jan 31, 2013

In Autocad 2013, when I highlight a drawing in model space and copy, then go to new drawing and paste to original coordinates, everything comes in fine except for blocks. the blocks get thrown far away from everything else.

View 8 Replies View Related

AutoCad :: How To Purge 3D Info And Return Drawing To Its Original 2D Functions

Feb 17, 2012

I have not used AC for 3d drawings in years. But I do a lot of 2d in AC2012. Yesterday, I was killing time and took a look at some of the 3d capabilities while in an existing drawing. I inserted a few 3d objects, but I eventually deleted them. Now I notice that the UCS icon has become the 3d UCS, and my snaps no longer function as expected. Is there some way to purge the 3d info and return the drawing to it's original 2d functions?

View 4 Replies View Related

AutoCad :: Attaching Multiple File With One Common XRef File

Apr 17, 2012

I have a more then 10 folder(Irrigation-Telephone-electrical- general layout-profile etc) and one x-ref folder i want to attached that x-ref with all folder files in that folder more then 10 files so how can i attached that x-ref with easy way if i attached one by one its time less so any easy way to attached x-ref in multiple folder.

View 0 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







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