Jump to content

Dimension Help Adding to a dimension


mike331

Recommended Posts

Is there a way to add extra to a dimension.

 

Example: I have a dimension of 38" but i want the dimension to show 38 1/2". I always want to add either 1/4" of 1/2" to the actual dimension..

 

Its a little much to explain but just know i need it to do so...

 

Thanks

Link to comment
Share on other sites

Like lee suggest

Use the quick select from the properties dialog box to select the dimensions you want to change

In the dialog box put ¼” in the text over ride box = original dimension then a space then ¼”

Then below find the suffix box and delete the contents so the change will read 38 ¼” not 38” ¼”

Quick and dirty

Do you want to change all dimensions in the drawing or just some?

The more detailed information you post the better answers you will receive.

Link to comment
Share on other sites

What about this...

(defun c:Test (/ #Choice #Suffix #SS)
 (vl-load-com)
 (and
   (not (initget 0 "1 2"))
   (setq #Choice (getkword "\nDimension Suffix (1 = ½/2 = ¼) [1/2]: "))
   (cond ((eq #Choice "1") (setq #Suffix "½"))
         ((eq #Choice "2") (setq #Suffix "¼")))
   (setq #SS (ssget ":L" '((0 . "DIMENSION"))))
   (foreach x (mapcar 'vlax-ename->vla-object
                      (vl-remove-if 'listp
                        (mapcar 'cadr (ssnamex #SS))))
     (vla-put-textsuffix x (strcat " " #Suffix "\""))))
 (princ))

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...