Annotation scale in paperspace not 1:1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
All,
As odd as it sounds, paper space actually does have an annotative scale. Typically, this is 1:1. But we (and others) are having instances where this scale has somehow become other than 1:1 (ex: 1'-0"=1'-0", 1/4"=1'-0", etc.). A discussion related to this is in this thread.
Autodesk's @john.vellek has been working with me on this and described a promising "hack" in this post. However, in my attempt to automate this fix via AutoLisp, I'm not getting the results I would expect.
I'm reaching out to the programming gods to see if they can figure out how to get the code below to perform the way it does when the steps are performed manually, as John described.
(defun C:FixLayout (/ pspaceVport pspaceVpObj) (setq pspaceVport (ssname (ssget "_x" '((0 . "VIEWPORT") (69 . 1))) 0 )) (setq pspaceVpObj (vlax-ename->vla-object pspaceVport)) (sssetfirst nil (ssadd pspaceVport)) (princ "\nInitial scales: ") (princ "\n - Standard: ")(princ (vla-get-standardscale pspaceVpObj)) (princ "\n - Standard2: ")(princ (vla-get-standardscale2 pspaceVpObj)) (princ "\n - Custom: ")(princ (vla-get-customscale pspaceVpObj)) (vla-put-DisplayLocked pspaceVpObj :vlax-false) (vla-put-standardscale pspaceVpObj acVp1_1) (vla-put-standardscale2 pspaceVpObj acVp1_1) (vla-put-customscale pspaceVpObj 1.0) (vla-put-DisplayLocked pspaceVpObj :vlax-true) (princ "\nChanged scales: ") (princ "\n - Standard: ")(princ (vla-get-standardscale pspaceVpObj)) (princ "\n - Standard2: ")(princ (vla-get-standardscale2 pspaceVpObj)) (princ "\n - Custom: ")(princ (vla-get-customscale pspaceVpObj)) (textscr) (princ) )
I've attach a sample drawing. In it, layout "A201" has an annotative scale of 1'-0"=1'-0", and layout "A202" has an annotative scale of 1/4"=1'-0".
Thanks!
Please use the Accept as Solution or Kudo buttons when appropriate
Chris Lindner
CAD Technology Consultant @ onebuttoncad.com
AUGI Board of Directors