AutoCAD .NET :: How To Add Xrefs To Drawing

May 21, 2012

I am having an issue with adding xrefs to drawings.  The way I have this setup is the user inputs information and the number of sheets.  This then sets up a sheet set with the information and then for each value for the number of sheets the user gets a dialog askign for a number, name, and description for that sheet.

so if the user puts in 5 as the number of sheets, the user gets that dialog 5 times.

also I have a dialog that asks the user if they are adding xrefs to the sheets, if they answer yes then it adds the xrefs to each sheet that is created (this is where I have an issue).

This works perfect for the first sheet that is added, how ever after you fill in the information and submit for the second sheet autocad gives a fatal exception error and closes. not sure if I am missing on turning something off, closing, or stoping something before the next sheet is created.

here is the code I have at this point:

'checks to see if the dialog was yes
If xrefd.DialogResult = Windows.Forms.DialogResult.Yes Then 'shows the dialog efd.ShowDialog() 'shows the dialog pfd.ShowDialog() 'runs for each value in total sheets
For i As Integer = 1 To info.TotalSheetNum.Value 'shows the dialog sheetinfo.ShowDialog() 'checks to see if the sheet number is 1 If sheetinfo.SheetNum.Text = "1"
Then 'sets the sheet set default values SetSheetSetDefaults(ssdb, info.NameTxt.Text,
"Description",

[Code]....

View 1 Replies


ADVERTISEMENT

AutoCAD .NET :: Get List Of Xrefs In Current Drawing

Oct 23, 2013

I am new to .net. how to get a list of the xrefs in the current drawing?

View 2 Replies View Related

AutoCad :: Xrefs Shown In Drawing Not In Manager?

Feb 8, 2012

Simply, I have Xrefs showing up in my Drawing correctly, but they are not listed in my Xref Manager. ?

If it makes a difference, I did move the Host Job Folder into an Archive. So normally my XRef links are broken but still they show up in my Xref Manager and not in the Drawing until I re-path to the new location. This is because I didn't use Relative Paths, which I am starting to use now.

View 9 Replies View Related

AutoCad :: XREFs Disappear When Save Drawing

Oct 4, 2013

I have a blank drawing. I XREF another drawing, it looks good, everything makes sense... Then as soon as I save my drawing, the XREF disappears, and is no longer listed in the XREF manager!

View 3 Replies View Related

AutoCAD 2010 :: Save Xrefs In Drawing In 2012?

Jun 16, 2011

How do I save xrefs in a drawing in Autocad 2012? 

I´ve been using eTransmit command in previous versions, now that I´ve switched to v2012 there´s no longer support to save all dwg xrefs as dwg references in the eTransmit popup window. My dwg xrefs are instead attached as blocks.

View 9 Replies View Related

AutoCad :: Change Colour To Drawing With Several Viewports And Xrefs?

Apr 17, 2013

I need to change colour to a drawing with several viewports and xrefs. I suggested to my co-worker that I could fix this via plot manager, but he insists that I change all colours in the xref to one and the same, so everyone can plot it black and white and so we don't have to set up new plot styles on every computer. (we've got the drawing file from another company btw).

I've had a look and it seems like I have to do refedit to be able to edit any parts of the xref. Most of the drawing has got the same colour already, but it just say "by layer"... how do I find out what colour it is?

View 9 Replies View Related

AutoCAD 2010 :: Xrefs Placed Away When Copy / Paste Drawing

Mar 6, 2012

when i copy paste another persons drawing into mine,all the xrefs get placed well away from the the original drawing.

View 7 Replies View Related

AutoCad :: Opening Files - XRefs Missing From Drawing

Nov 8, 2012

I was opening files and autocad was telling me that some xrefs were missing from the drawing, did I want to locate the xrefs or ignore (I hit ignore and accidentally checked the always do this to these types of files). Now, when I load a drawing I can not get the building to load into the drawings.

How to turn the locate feature back on for xrefs?

View 9 Replies View Related

AutoCAD 2010 :: Auto Update List Of Xrefs In Drawing?

May 3, 2012

I have been trying to get a list of xrefs contained within a drawing to auto update by using Rtext.

I have got as far as using the following diesel expression.

Xref's in this file are indicated as - Xref name [Filepath]

$(Xrefs,3,)
$(Images,3,Images in this file: )

This gives me more or less what I want but I dont want to show the file path. What changes to the expression I need to do to achieve this.

View 2 Replies View Related

AutoCad :: XRefs Detached And Reattached With Latest Model XRefs

Apr 22, 2013

i have a large number of drawings that need xrefs detached and re-attached with the latest model xrefs, any way to do them in bulk rather than opening each individual drawing? the problem started a while back, when opening drawings, ACAD is not loading the latest 'saved' model when opening drawings...

View 5 Replies View Related

AutoCAD 2010 :: Xrefs To Stay Attached To A Drawing File / When Using Dropbox As Network?

Mar 11, 2013

Is there a way for xrefs to stay attached to a drawing file when using Dropbox as a network?  All files are saved to the dropbox which is loaded on both computers that need to access the files.  If I do work and save an xref in a file that is then opened by someone else on a different computer, the xref is not loaded and has to be re-routed.  Is there a way to avoid having to reroute xrefs everytime someone different opens the file?

View 2 Replies View Related

AutoCAD Visual LISP / AutoLISP :: Drawing With Multiple Xrefs - Create Local Layer Filter

Aug 13, 2013

I often work on drawings which have multiple xrefs, each having up to 100 Layers or more, so the layer manager can be a bit difficult to trawl through to find a local layer to select.

I know how to create a local layer filter using the code ~*|* from the new filter area in layer manager.

Ideally all I want to have to type in is: LOCAL and then the local layer filter would be created, with the filter name being Local-Layers (or similar).

View 9 Replies View Related

AutoCAD LT :: XRefs Cause Lag In Object Selection

May 22, 2012

I am working on a drawings with nested xrefs and am experiencing major delays when selecting objects using crossing windows. It is as if the computer thinks I am selelecting the xref even though the curser doesn't touch any visible exref entities. Basically, I click to start the window and the curser freezes for 10 to 20 seconds. I am experiencing the same problem with other commands (intermittenly) such as move, line, and offset. The exrefs are on a separate locked layer and have been moved to the back of the drawing.

View 2 Replies View Related

AutoCAD Civil 3D :: Sheet Set XREFs

Nov 28, 2013

When I create a set of sheets from an alignment and I specify my data references etc, I want to create individual drawings for each sheet. The problem is that whenever I do this, it does not export also the base XREFs for the model drawing. I keep getting an error saying - Cannot create XREF's.

View 1 Replies View Related

AutoCAD 2010 :: Hide Sub Xrefs

Oct 15, 2013

I am working on a rather big xref setup. The MAIN file has got about 10 OVERVIEW files refferenced in, each of the OVERVIEW files got another 15-20 DRAWING files attached.

Now when i attach OVERVIEW to MAIN it brings in all the DRAWINGS as unique xrefs as well.

Of course i want to see the DRAWNIGS in the MAIN file, but I'd prefer not to see them in the xref-manger  (where i want to see only the OVERVIEW files).

An additional problem is that the DRAWINGS contain pictures on layout-tabs which are also shown in the MAIN file xref manager.

So long story short: is there a possibility to "hide" the sub-xrefs in the xref-manager?

View 5 Replies View Related

AutoCAD Architecture :: Cut Plane Across Xrefs

Dec 9, 2013

I've got the second floor of a building which is an attic, which is over 2 different levels, each of which has its own xref. The roof is sloped. I would like to vary the cut plane in the same view, so that both xrefs are respectively cut at 1500mm above floor level. This would mean using 2 different cut planes, one for each reference.

View 1 Replies View Related

AutoCAD Civil 3D :: XREFs Will Not Display?

Sep 13, 2011

Many times when I try to attach a xref and do a zoom extents, I cannot find the drawing.  I change my limits to -999999,-999999 and 999999,999999 but still nothing.  This seems to be a random problem.

Windows 7 x 64
Nvidia GeForce GTS 450
8 GB Ram
Intel Core i5-2310 @ 2.90 GHz
v. F.107.0.0 AutoCAD Civil 3D 2012 SP1

View 7 Replies View Related

AutoCad :: Xrefs Into Layout Space?

Aug 7, 2013

it's just somehow Xref drawing doesn't appear in layout/sheet space.

View 8 Replies View Related

AutoCAD 2013 :: Plotting Xrefs To PDF In B&W

Jan 28, 2013

We setup a company template to use STB. Not trying to debate if its the right move, we simply did it because the designers grasped the concept of Named Styles rather than color styles.

Here is our setup.

AutoCAD 13 on Windows 7 with Adobe PDF or DWG to PDF

We have an xref'ed drawing of a background. We xref it on Layer XXX_BKGRD with a color of yellow and a Plot Style of Background.

In our STB file we have style named Background set to plot Black. We have Plot object lineweights and plot with plot styles selected. The VP is set to Legacy Hidden.

When we do a plot preview, its all color. No change.

View 3 Replies View Related

AutoCAD 2010 :: How To Manage With Xrefs

Jan 22, 2013

Every time I reload the xref, regenerating the drawing or plot my details, I need to wait a long while. I have a plan (dwg) and the details (dwg) where I xrefed the plan 6 times. Everything is purged and audited. i thought this is a good way to work. Some tips how to manage with xrefs.

View 3 Replies View Related

AutoCad :: Make Xrefs Little Less Faded?

Nov 11, 2011

Is there a way to make the x-ref's a little less faded?

View 5 Replies View Related

AutoCad :: Too Many Annotation Scales In XRefs?

Oct 19, 2009

For a project we are currently working on all files are stored on projectwise, all xrefs run through projectwise, so essentially whatever changes are made are immediately avaliable to everyone working on the job. This is great and all, but, one of the companies dwgs have an average of 11,000 + annotation scales. And those dwgs are referenced into ours. Usually in a situation like this we would just get rid of the annotation scales in the original, but since its run through projectwise every time they open and close one of these dwgs it over rides any changes we made (like getting rid of the annotation scales) We dont use annotation scales and i never have, is 11,000+ alot of annotation scales or is that normal? half the time i open the dwgs with these xrefed in it crashes autocad or takes forever.

View 7 Replies View Related

AutoCad :: Change Path Of XRefs

Jan 5, 2012

Over the break management has decided to change the way our files are named and pathed.

This has messed everything up with the ex-refs in CAD. Is there a way to change that saved paths for the ex-refs and reload, or do I have to start from scratch?

View 2 Replies View Related

AutoCad :: Attaching XREFS To Many Drawings

Jul 28, 2012

If I have several hundred drawings, For example;

Drawing1.dwg
Drawing2.dwg
Drawing3.dwg
..etc..

and several hundred Xrefs;

XCdrg1.dwg
XCdrg2.dwg
XCdrg3.dwg
..etc...

Now, I need to do the following;

attach XCdrg1.dwg to Drawing1.dwg
attach XCdrg2.dwg to Drawing2.dwg
attach XCdrg3.dwg to Drawing3.dwg
..etc...

What is the quickest method? Script? (I have approximately 800 drawings and 800 xrefs and for CAD management reasons they need to be individual drawing files)

View 3 Replies View Related

AutoCad :: Xrefs Keep Losing Their Paths?

Mar 27, 2012

We are 3 ppl working on a project and facing this problem that when we open a file with xrefs, they lose their paths. Even when we fix it once, the next time someone else opens in their computer its lost again.

View 0 Replies View Related

AutoCad 2D :: Purging Layers In XRefs?

Sep 18, 2011

I have a drawing with an x-ref in it. The x-ref contains multiple layers which, since creating it have purged out of the x-ref. However when i purge the drawing in which the x-ref is in the layers do not remove. Is there a way to remove these?

View 1 Replies View Related

AutoCad :: Attaching XRefs To DWGs

Nov 29, 2012

I have been sent some drawings with came in 2 zip files. 1 zip contains the floorplans. the other contains the sheets.

if i load the sheet, it will tell me the drawing is missing in a pop up box with a status of "not found". i f i try to attach it nothing happens.

View 9 Replies View Related

AutoCad :: Bound Xrefs Disappearing

Sep 1, 2009

Program: Civil3D 2010

Upon binding my dwgs to send to clients, sometimes I run across a serious problem. My xref'ed site plans disappear but my xref manager still lists it as attached, the layer manager still has every xrefed layer, and all other xrefs in the dwg will bind perfectly.

I have broken down all complex objects, purged, audited, cleaned up any excess scales, and even created new fresh dwgs for the xref and the drawing in question; all actions have ended in failure. I have even searched the AutoDesk forums for a solution and have found nothing substantial.

Solution: #1 Use RECOVERALL command on .dwg file that the xrefs disappear from. It will remove all proxy objects and excess scales in the file that is causing it to disappear in the first place.

#2 WBLOCK out the dwg file and any xrefs that are disappearing and insert them into new "clean" .dwg files. Must be done to all files.

View 9 Replies View Related

AutoCAD LT :: Can't Load Some Xrefs In 2013

May 3, 2012

I can't load some xrefs in 2013 that I can with 2012.  Identical new machines within the last week.

I get an invalid message for some not all.  Is it the 2013 jinx?

View 9 Replies View Related

AutoCAD 2010 :: Xrefs Not Auto-updating

Feb 21, 2012

Any settings that will automatically check changes to an xref and re-load it instead of just telling you "an xref needs reloading"?  the problem is occuring when i go to publish and i end up with out-dated info because acad doesn't auto-refresh the xrefs.

View 7 Replies View Related

AutoCAD 2013 :: File With XRefs Too Slow?

Oct 16, 2012

When I work with a drawing that have several XRefs, it is too slow to open, save, or to do everything. I configured:

SAVEFIDELITY=0, XLOADCTL=2, INDEXCTL=3

Is there any other way to improve the performance?

View 1 Replies View Related







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