PDA

View Full Version : Xrefs come in at 1/12th scale



rdomke69
2005-12-16, 07:18 PM
Greetings and "Warm fuzzies" to all (as appropriate) for the holday season.
I work in an office that uses both Plain AutoCad 2005 and also Civil 3D 2006; I use Civil 3d 2006 on my computer. I was asked for some help on a project being done in plain AutoCad 2005 by some of my coworkers and as I was bringing in one of the "xref" files I noted that it seem to show up in model space way down in the lower left corner of my computer screen relative to the entities in my currently open drawing.
I checked both my computer and the computer of my coworker to verify that we were both working in Decimal "units" and had my coworker load the Xref in question into one of his construction documents to verify that I had not accidentally changed the scale of the file. He had no problem bringing in the xref at the appropriate scale and location using an insertion point of 0,0. I then immediately tried once again bringing it into a file on my computer and once again, it came in at 1/12th scale.
Is there a "system variable" that controls the default insertion scale for Xrefs in Civil 3D 2006 that wasn't in plain AutoCad 2005?
We also had a problem with a file I created in Civil 3D 2006 that consisted largely of hatch patterns to be used as an Xref. After I finished the file, my coworker made a couple small edits in 2005 and saved the file from his computer to the network server. The next day when I opened a file that had the hatches Xref-ed, I noticed that the patterns would display on the monitor but would not show up in the "Preview" nor would they plot. My coworker fixed the problem by copying all the entities from the hatch file into a new file and saving it to a new name. ( I think it would also have been resolved by merely "Wblock"-ing the hatch file to its current name but I haven't taken the time to try it yet.) Are there any specific "idiosyncrasies" that have come to people's knowledge when passing files back and forth between AutoCad 2005 and Civil 3D 2006?
I've created several details by "wblock"-ing entities from other files and I sometimes get a dialogue box that asks me If I also want to save AutoCad Map data with the file; what sort of "data" is it referring to? Should I always elect to save the "Map Data" for alignment purposes or compatibility with other GIS type products?

Opie
2005-12-16, 07:49 PM
You may want to have a look at this thread (Inserts scaled wrong).

wfrederick
2005-12-20, 03:49 PM
insunits will help correct this problem. Search in help as there are a couple of other setting that may apply.

vtoma
2005-12-29, 05:06 PM
Try setting this variable "insunits" correctly in the ".dwt" that loads when you start the software. This will make sure that it is set correctly every time you start AutoCAD. Good Luck!

rdunn.93173
2005-12-30, 12:05 AM
AutoCAD's response to my subscription complaint about INSUNITS:

""In AutoCAD 2005 the INSUNITS variable allowed automatic scaling of blocks and images when inserted to a drawing from the Design Center. With AutoCAD 2006, this variable has been modified to include the automatic scaling of not only blocks and images, but also xrefs when using any insertion method.
INSUNITS, INSUNITSDEFSOURCE, and INSUNITSDEFTARGET control the insertion scale. If objects are being inserted at an incorrect scale, it is because these variable settings are not correct.
To resolve the insertion issue, set INSUNITS to 0 and then define a value to INSUNITSDEFSOURCE and INSUNITSDEFTARGET to obtain the correct scale."

SteveBig
2006-02-07, 08:36 PM
Well I think AutoDesk response is incorrect with the solution. The solution is that AutoDesk needs to fix the bug, that is the problem.

The bug is when you open up the dialog box Project > Drawing Setup in Land Desktop 2006 the insert units change to feet, even if you hit cancel button. From there it cause the problem for inserting blocks in the drawing and referencing that drawing into other files. I tried setting all of the variables they mention, but they do not work.

So my fix is if I need to change a setting in the Drawing Setup I make sure I go change my insert units back to inches.

jpaulsen
2006-02-08, 08:34 PM
I added the following lines to the acaddoc.lsp file so the variables get set every time you open a drawing.

(setvar "insunits" 0)
(setvar "insunitsdefsource" 0)
(setvar "insunitsdeftarget" 0)

I have been setting these variables in the acaddoc.lsp since LDT 2002 and have had no problems. I am running LDT 2006 now.