rkent Posted July 20, 2015 Share Posted July 20, 2015 I don't have vanilla AutoCAD, I have the Mechanical version so I can't test this. Autodesk support is telling me -dwgunits doesn't exist in the vanilla product. Is that true? Can someone with vanilla try and then report back. I see this mentioned as a solution so often in here I assumed it was in the vanilla versions. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 20, 2015 Share Posted July 20, 2015 Works fine in plain vanilla 2011 Full. Quote Link to comment Share on other sites More sharing options...
rkent Posted July 20, 2015 Author Share Posted July 20, 2015 How about DWGUNITS without the dash in front? Thanks. Quote Link to comment Share on other sites More sharing options...
Dana W Posted July 20, 2015 Share Posted July 20, 2015 Dunno bout without the dash, but -dwgunits has been in vanilla AutoCad for a Loooooooonnng time. They even moved it into LT for 2015 (maybe before). LT definitely has no dwgunits without the dash. Quote Link to comment Share on other sites More sharing options...
Dadgad Posted July 21, 2015 Share Posted July 21, 2015 (edited) Works in plain vanilla just great. This screenshot is from Vanilla 2013. Had there been anything in Paperspace when I ran it, there would be an additional question about the option to scale paperspace entities too. Just curious, if you open your version as Autocad, instead of as Mechanical, if you might have it available there? As useful as it is, I am quite surprised that Autodesk support is unaware of it. Edited July 21, 2015 by Dadgad Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 21, 2015 Share Posted July 21, 2015 What do you want to change you can get at the sysvars directly (SETVAR "LUNITS" 2) (SETVAR "ANGBASE" 0.0) (SETVAR "ANGDIR" 0) (SETVAR "LUPREC" 0) (SETVAR "AUNITS" 0) (SETVAR "AUPREC" 0) Quote Link to comment Share on other sites More sharing options...
Dadgad Posted July 21, 2015 Share Posted July 21, 2015 What makes this so useful for me, is that it enables one to easily and comprehensively, with a single command, view these numerous system variable settings, and either confirm or rectify them. I find this particularly helpful when receiving a drawing from someone else, as, in my own work, I will know those values which will have been determined by the use of my default .dwt file. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted July 21, 2015 Share Posted July 21, 2015 (edited) Maybe do a test using the sysvars and produce a screen answer. copy direct to command line as example, you can put your own wording ; strcat answer (alert "Angbase is 0.0 OK\nAngdir is not 0.0\nLuprec is 1 not 0") Another thought is the recent post I did about 1 2 or 3 auto line dcl just add a lot more lines to code for more dcl entries you could then do a message change or not preset to default value. Edited July 22, 2015 by BIGAL Quote Link to comment Share on other sites More sharing options...
rkent Posted July 21, 2015 Author Share Posted July 21, 2015 I was asking because in a vertical product using -dwgunits it will override the insunits setting, but it won't change insunits. So going through -dwgunits you might change to millimeters but insunits will still report inches. Supposedly in vanilla -dwgunits will also change insunits, maybe someone could report back on whether or not that happens. I asked the Autodesk support for clarification but their answer seems wrong and or conflicting. For one they they state that -dwgunits isn't in vanilla AutoCAD. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 21, 2015 Share Posted July 21, 2015 Works fine here. Default response is to NOT change the INSUNITS, if you just hit enter at the prompt. You must select Y, then enter. Quote Link to comment Share on other sites More sharing options...
Dadgad Posted July 21, 2015 Share Posted July 21, 2015 Here is my commandline history after a little test. -DWGUNITS Drawing units: 1. Inches 2. Feet 3. Millimeters 4. Centimeters 5. Decimeters 6. Meters Unit for length : *Cancel* Command: measurement Enter new value for MEASUREMENT : Command: -SYNCINSUNITS Match INSUNITS to drawing units? [Yes/No] : Command: -SYNCINSUNITS Match INSUNITS to drawing units? [Yes/No] : y Command: Specify opposite corner or [Fence/WPolygon/CPolygon]: Command: -DWGUNITS Drawing units: 1. Inches 2. Feet 3. Millimeters 4. Centimeters 5. Decimeters 6. Meters Unit for length : 1 Drawing unit display formats: 1. Scientific 2. Decimal 3. Engineering 4. Architectural 5. Fractional Linear display format : Architectural linear display precision formats: 0. 1" 1. 1/2" 2. 1/4" 3. 1/8" 4. 1/16" 5. 1/32" 6. 1/64" 7. 1/128" 8. 1/256" Linear display precision : Scale objects from other drawings upon insert? [Yes/No] : y Match INSUNITS to drawing units? [Yes/No] : y ** WARNING: you have changed the unit for this drawing database. ** ** All new objects will be drawn according to the new unit, but ** ** existing objects will not change size unless you specifically ** ** ask to have automatic scaling occur. ** Scale objects in current drawing to reflect change in units? [Yes/No] : y Include objects in Paper Space? [Yes/No] : y Scaling the entire database... Scaling AecDbObject(s)... Scaling entities in Model Space... Scaling entities in Paper Space... Command: MEASUREment Enter new value for MEASUREMENT : Seems to do everything that it was meant to, including resetting the MEASUREMENT variable appropriately. Clearly the Support Tech knows less about this question than you do. Which while lamentable, doesn't surprise me one bit! Shouldn't we expect said individual, to immediately attempt to call the command on Vanilla, and realize that it does exist? Quote Link to comment Share on other sites More sharing options...
SLW210 Posted July 22, 2015 Share Posted July 22, 2015 Drawing was Inches and Architectural. Command: -dwgunits Drawing units: 1. Inches 2. Feet 3. Millimeters 4. Centimeters 5. Decimeters 6. Meters Unit for length : 3 Drawing unit display formats: 1. Scientific 2. Decimal Linear display format : Linear display precision : 3 Scale objects from other drawings upon insert? [Yes/No] : y Match INSUNITS to drawing units? [Yes/No] : y ** WARNING: you have changed the unit for this drawing database. ** ** All new objects will be drawn according to the new unit, but ** ** existing objects will not change size unless you specifically ** ** ask to have automatic scaling occur. ** Scale objects in current drawing to reflect change in units? [Yes/No] : Include objects in Paper Space? [Yes/No] : Scaling the entire database... Scaling AecDbObject(s)... Scaling entities in Model Space... Scaling entities in Paper Space... Units are changed appropriately Quote Link to comment Share on other sites More sharing options...
rkent Posted July 22, 2015 Author Share Posted July 22, 2015 Dadgad - thanks. Tech support guy did write back to say they were updating their information on this so at least they admitted they had the wrong information. I have gotten some good tech support from them in the past but this latest guy was annoying. He didn't get a good customer survey response. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.