Jump to content

Lee Mac - Background Mask (Dimensions)


Recommended Posts

Posted

After reading this thread;

 

http://www.cadtutor.net/forum/showthread.php?71889-How-to-create-a-lisp-program-displaying-coordinates/page3

 

It reminded me that dimensions do not have the 'Background Mask' functionality, they have 'Text Fill'. This is OK in itself, however, if you are using White text (Colour 7) and specify a fill colour of 255 you cannot see the dimension value in the drawing (White on White).

 

I make good use of Lee Mac's 'Mask' routine:

http://www.lee-mac.com/mask.html

 

This makes adding background masks so much easier. I have just quickly tried to add "DIMENSION" to line 112 of Lee's code but with no luck.

 

Any Ideas? Maybe I am missing something more technical or I am way out of my depth?

 

Probably both actually :D

 

:unsure:

 

H

Posted
I have just quickly tried to add "DIMENSION" to line 112 of Lee's code but with no luck.

 

lol, if it was that easy I would have done it ;)

Posted

The variables:

 

DIMTFILL and DIMTFILLCLR seem to have done the trick! :)

  • 3 years later...
Posted
lol, if it was that easy I would have done it ;)

 

Any plans to update MASK.LSP to apply the masking to DIMENSIONS?

 

TIA.

  • 1 month later...
Posted

Awesome, Lee!

One tiny problem I've noticed:

dfs.jpg

The mask is covering the dimension line, can this be an easy fix ?

Posted
Awesome, Lee!

 

Thanks.

 

One tiny problem I've noticed

The mask is covering the dimension line, can this be an easy fix ?

 

This is controlled by your Dimension Style - the offset of the text from the dimension line (DIMGAP).

Posted

 

This is controlled by your Dimension Style - the offset of the text from the dimension line (DIMGAP).

 

Oops, my bad!

 

By the way, these syntax waves of your codes are very inspiring! :D

I wonder how you do not get lost while writing such long programs.

  • 2 months later...
Posted

Hello everybody.

I have a problem with this code on dimension. I have localized (russian) Autocad 2012 x32.

 

Command:

BMASK

Select mtext, mleaders or dimensions:

 

Error: incorrect DXF-group: (-3 ("acad" (1000 . "DSTYLE") (1002 . "{") (1070 .

340) (1070 . "22A") (1070 . 144) (1070 . 1.0) (1070 . 173) (1070 . 1) (1070 .

344) (1070 . "22C") (1070 . 343) (1070 . "22C") (1070 . 283) (1070 . 1) (1070 .

40) (1070 . 25.0) (1070 . 69) (1070 . 1) (1002 . "}"))).

 

You can solve this problem?

Sorry for the bad english. :(

Posted

In AutoCad 2016 you can go to properties find "Fill color" and set it to Background.

Posted
In AutoCad 2016 you can go to properties find "Fill color" and set it to Background.

I know this way

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