×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Background mask

Background mask

Background mask

(OP)
Is there an easy LISP to turn on the background mask using the drawing background color for selected MText and DIM objects?

RE: Background mask

You can change this in the Properties box/palette after selecting them. I would use qselect to select them and then go to the Properties box/palette and set this.

RE: Background mask

(OP)
That's how I do it now.  It is too slow and cumbersome.  I'd like a short (2 letter) keyboard command that toggles the ask on or off.  Anyone know the settings?

RE: Background mask

D.,
which version? I think in 2008 you can use a lisp...

L.

ADT 2004

RE: Background mask

(OP)
I have 2008 - keep going!!!  I found a routine for MText called MTB but it does not toggle nor work on Dimension text.

RE: Background mask

For dimensions, in 2008, you can modify the dimension style so that it automatically includes a text mask.

(Dimension styles, text tab, fill color)

On most of our dwgs, though, we only use it for specific dimensions.  Easiest way I've found to do that, is to change one, then paste properties.  (Works for mtext too.)  We usually throw a couple dims into the drawing, with the mask on, and then paste properties as we go.

I know there's got to be an easier way, but I don't know what it is.

RE: Background mask

(OP)
For dimensions I came up with this.  Now to do a similar thing for MText and Text...

DEFUN C:DBM (/ DTF DTC NTF NTC) ; Toggle Selected and Future Dimension Background Mask On or Off
 (SETQ DTF (GETVAR "DIMTFILL")
       DTC (GETVAR "DIMTFILLCLR")
       NTF 1
       NTC 7
 )
 (IF (= DTF 1) (SETQ NTF 0 NTC 0))
 (SETVAR "DIMTFILL" NTF)
 (SETVAR "DIMTFILLCLR" NTC)
 (COMMAND "DIM1" "UPDATE" PAUSE)
; (SETVAR "DIMTFILL" DTF)
; (SETVAR "DIMTFILLCLR" DTC)
 (PRINC)
)

RE: Background mask

@IFRs

well done, I did not get it...

L.

ADT 2004

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources