AbdRF Posted September 30, 2019 Posted September 30, 2019 (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 Edited September 30, 2019 by AbdRF Quote
lrm Posted September 30, 2019 Posted September 30, 2019 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. Quote
rkent Posted October 1, 2019 Posted October 1, 2019 Place the dimension, select and open properties, in text override just enter a bunch of spaces. Quote
tombu Posted October 1, 2019 Posted October 1, 2019 (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 October 1, 2019 by tombu Quote
AbdRF Posted October 7, 2019 Author Posted October 7, 2019 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 Quote
AbdRF Posted October 7, 2019 Author Posted October 7, 2019 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 Quote
AbdRF Posted October 7, 2019 Author Posted October 7, 2019 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 Quote
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.