In releases 2012 and older, I was able to provide a field in my dimensions that picked up an object's (line) angle in surveyor's units: i.e 34d25'45". I would add a field, select an object, and set the units for surveyor's within the field dialog box. Now, in 2013 it seems as if the surveyor's choice within the field dialog box is not available.
Is this a bug or am I missing something? I need to work on a few site plans and this was a great feature in the past and it is unavailable as of 2013 versions of Autocad, ACA, and MEP.
Can someone please confirm this or point me in the right direction?
I even tried changing the units of the drawing to surveyors (which is available still in the units dialog box). but, that didn't work.
You're absolutely correct, it is gone. Not only that, when units of drawing set to Decimal, it displays wrong angle.
FIX it Autodesk
Yeah - Not sure why they changed it. nice image though - comparing the two. I notice you are in ACA or MEP, right? I haven't tried it in plain autocad yet...
The right photo was snapped from Plain 2013, the left one from 2008 LDD
I tried the same field with 2010 Civil 3D and it works as 2008.
2013 is sinking
I've verified this strange behaviour and it's a regression issue occurring in AutoCAD 2013 release.
I've send to our development team this request and they will provide to fix the code asap.
Thank you for letting us know about it
In the meantime, you could use this lisp code to generate the FIELD you need. Tested in AutoCAD 2013 x64 version.
;| Raw lisp code No error checking Rename the function to something you like Used to create a MTEXT string containing a FIELD that points to the angle of a line reported in Surveyors Units with precision = N00°00'00"E |; (defun c:foo ( / ENT LIN OBA TAB UTIL) (setq ent (car (entsel))) (setq tab (vlax-ename->vla-object ent)) (setq oba (vla-get-objectid tab)) (if (> (vl-string-search "x64" (getvar "platform")) 0) (progn (setq util (vla-get-Utility (vla-get-activedocument (vlax-get-acad-object)))) (setq oba (vlax-invoke-method util "GetObjectIdString" tab :vlax-False)) ) (setq oba (rtos oba 2 0)) ) (setq lin (strcat "%<\\AcObjProp Object(%<\\_ObjId " oba ">%).Angle \\f \"%au4%pr3\">%")) (vl-cmdf "._mtext" (getpoint "\n>Pick point for text: ") "w" "0" lin "") (vlax-release-object util) )
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register