Jump to content

Recommended Posts

Posted (edited)

Hi all,
I need to create the blank dimensions with a box in the gap for few drawings .Can somebody suggest how this can be done?   I am attaching the sample pic below.Thanks in advance



564803893_Blankdimwithbox.thumb.PNG.83659598f3b39095d330ea29eece2321.PNG

Edited by AbdRF
Posted

Method 1 - explode the dimension and check the box for Frame for the text and change the text to space characters.

 

Method 2 - create a rectangle with a hatch of color 255,255,255 and cover the dimension text of the dimension line.  Use draworder or have the rectangle at a z > 0 to make sure the rectangle is displayed after the dimension line.

Posted

Place the dimension, select and open properties, in text override just enter a bunch of spaces.

Posted (edited)

What rkent said & set Text offset (DIMGAP) to a negative number or

https://forums.autodesk.com/t5/autocad-forum/drawing-frame-aroud-dimension-text/m-p/2516745#M324150

or

https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/td-p/8112021

or Toggle the TextBox On/Off of selected Dimensions using:

;| Toggle Dimension Text Box
https://www.cadtutor.net/forum/topic/68801-help-to-create-blank-dimensions-with-a-box/?tab=comments#comment-555956
Macro: ^P(or C:DimBoxText (load "DimBoxText.lsp"));DimBoxText
   Command line: (load "DimBoxText.lsp") DimBoxText |;

(vl-load-com)
(defun c:DimBoxText ( / ss i obj box)
  (if (setq ss (ssget '((0 . "Dimension"))))
    (repeat (setq i (sslength ss))
      (setq obj (vlax-ename->vla-object (ssname ss (setq i (1- i))))
			box (- 0.0 (vlax-get obj 'TextGap))
      )
      (vlax-put obj 'TextGap box)
    )
  )
  (princ)
)

 

Edited by tombu
Posted
On 10/2/2019 at 1:22 AM, tombu said:

What rkent said & set Text offset (DIMGAP) to a negative number or

https://forums.autodesk.com/t5/autocad-forum/drawing-frame-aroud-dimension-text/m-p/2516745#M324150

or

https://forums.autodesk.com/t5/autocad-forum/providing-text-box-to-the-dimension/td-p/8112021

or Toggle the TextBox On/Off of selected Dimensions using:


;| Toggle Dimension Text Box
https://www.cadtutor.net/forum/topic/68801-help-to-create-blank-dimensions-with-a-box/?tab=comments#comment-555956
Macro: ^P(or C:DimBoxText (load "DimBoxText.lsp"));DimBoxText
   Command line: (load "DimBoxText.lsp") DimBoxText |;

(vl-load-com)
(defun c:DimBoxText ( / ss i obj box)
  (if (setq ss (ssget '((0 . "Dimension"))))
    (repeat (setq i (sslength ss))
      (setq obj (vlax-ename->vla-object (ssname ss (setq i (1- i))))
			box (- 0.0 (vlax-get obj 'TextGap))
      )
      (vlax-put obj 'TextGap box)
    )
  )
  (princ)
)

 

Thanks bro 

Posted
On 10/1/2019 at 9:42 PM, rkent said:

Place the dimension, select and open properties, in text override just enter a bunch of spaces.


Thanks 

Posted
On 9/30/2019 at 9:44 PM, lrm said:

Method 1 - explode the dimension and check the box for Frame for the text and change the text to space characters.

 

Method 2 - create a rectangle with a hatch of color 255,255,255 and cover the dimension text of the dimension line.  Use draworder or have the rectangle at a z > 0 to make sure the rectangle is displayed after the dimension line.


I am going with Method 2.
Thanks

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...