CAD Managers
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi guys,
Just wondering if any of you have come up against this one and how you are handling it??
This system variable is playing havoc with our blocks, causing them to insert at incorrect scale!!
Regards,
B
Solved! Go to Solution.
Re: System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Havoc, How? The variable simply sets the file you are in to the correct Units. What are your settings for INSUNITS and this variable? What are your blocks set to with this variable?
What are your UNITS intent?
Are the problems with Annotative Blocks only?
Re: System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
If dwg units are inconsistent between blocks and drawings into which they are inserted the problem you described will happen. Remember that autocad doesn't work in meters, light years or feet etc but in units. The fact that each unit in your drawing is an inch or a mm is simply a choice that you indicate in your drawing setup. If you were drawing the galaxy it would make little sense to make your units inches since the numbers would be so large as to cause them to be unusable. Similarly if you are designing microcircuits you don't want to design them using light year units as the numbers would be too small.
Beyond that, you and the other people you work with need to make some decisions, set a standard and incorporate that standard into all your templates and blocks, and work from there.
Re: System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Sorry guys I'm afraid it's not that simple.
If you haven't had the problem with the "-dwgunits" "undocumented system variable" then you on't under stand, it actually over rides the insunits.
If oyu haven't come up aginst this problem then you're lucky!!
Please refer to the links below for better explaination:
From Autodesk forum – AutoCAD 2008
Posted July 2009
http://forums.autodesk.com/t5/AutoCAD-2008/DWGUNIT
Posted August 2009
Regards,
B
Re: System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
And how is that different than clicking on format, units on the Autocad classic menu? Admittedly there is an extra option available for setting when you use the command line, but -hatch has extra options over accessing hatching by clicking draw, hatch. The issue you are having is simply that the inserted items are not using the same units as the drawing into which they are being inserted.
Re: System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Well what you're describing will set the units to say metres but the -dwgunits setting could be set to inches there fore the block will be scaled by a factor of 25.......
Try it out, set the units in a dwg and then type -dwgunti and set the unit there to something differnet and then check you original units again.
Re: System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
It does exactly what I expected it to do. after using the -dwgunits command, go back to the clicked format units and you'll see it changes the units there. It is consistent. text based interface does a few more things, but both methods are in sync.
It just proves that someone in your operation is not being careful about their units. It does exactly what it's supposed to.
Re: System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
they can be out of sync!!
As shown in the attached!!
Further in you insert a block with the -dwgunits out of sync in will "infect" not only the receiveing drawing but all other drawings open.
Have you look at the links I posted?? If you haven't encountered this problem and don't hae a solution to it please don't post again.
Re: System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
SAVEAS command in the file you are having a problem, create a new one. Delete all top-secret info in it. PURGE.
INSERT a block and confirm the problem still exists.
Highlight/point to the block. QSAVE.
Post two files here: the problem file above and the external block file you are having an issue with.
Recap: you post TWO dwg files here.
That will sort it one way or the other.
Stop posting useless screenshots and links to documents: the problem is more important to solve than little rants on public forums about who knows more than the other.
Re: System Variable "-dwgunits "
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Please re-read original post.



