Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Background mask default offset - Dimension Text

  1. #1
    Member
    Join Date
    2004-08
    Posts
    6

    Default Background mask default offset - Dimension Text

    I have the MTextMask lisp and really like it. Is there a way to do the same thing but for dimension text. I have done some lisp programming so am not afraid to try but I can not find the dxf codes for the text property in a dimension. I have been able to get a selection set of all the dimension in my drawing and I can filter throught the selestion set to manipulate each text object just like in the MTextMask routine.

    Can anyone help with automating the masking of the Dimension text?

  2. #2
    Administrator Mike.Perry's Avatar
    Join Date
    2001-03
    Posts
    13,499

    Default Re: Background mask default offset - Dimension Text

    Hi Joshua

    Please note I have *split* your post from thread "Background mask default offset" (found in the AutoCAD General forum).

    Plus, I have *moved* this (your) new thread to the AutoLISP forum, where I believe it will be better served here.

    Thanks, Mike

    Forum Moderator

  3. #3
    I could stop if I wanted to
    Join Date
    2002-02
    Location
    Kansas
    Posts
    482

    Default Re: Background mask default offset - Dimension Text

    dxf code 2 will poit to the block use to drawing the dimension. you need to work with the mtext in this block. but ever time a dimension is change this block will up date. so use text mask on dimension text is hard.
    Note:
    update to 2011
    I am using ADT 2007 08/06/2008

    PS. If you use any Code I post or Down Load Attachment I would like to know if it was helpful. So please post reply to this thread, on how you use the code or down load. Thank You

  4. #4
    AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    1,138

    Default Re: Background mask default offset - Dimension Text

    In 2006 just set the "Fill color" for "Text" to "Background" in the Dimension Style Manager for whatever Dimension Style you're using.
    Quote Originally Posted by joshua.andersen
    I have the MTextMask lisp and really like it. Is there a way to do the same thing but for dimension text. I have done some lisp programming so am not afraid to try but I can not find the dxf codes for the text property in a dimension. I have been able to get a selection set of all the dimension in my drawing and I can filter throught the selestion set to manipulate each text object just like in the MTextMask routine.

    Can anyone help with automating the masking of the Dimension text?
    Tom Beauford P.S.M. - Civil 2013 on Windows 7 Pro
    Design Analysis - Leon County Public Works/Engineering
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516

  5. #5
    Member
    Join Date
    2004-08
    Posts
    6

    Default Re: Background mask default offset - Dimension Text

    Quote Originally Posted by tombu
    In 2006 just set the "Fill color" for "Text" to "Background" in the Dimension Style Manager for whatever Dimension Style you're using.

    Is there a system variable that I can use to change this property? I am trying to not have to go through the dialog boxes to change it every time. I would like to have vlisp set a system variable which would change it then.

    Thanks in advance.

  6. #6
    AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL
    Posts
    1,138

    Default Re: Background mask default offset - Dimension Text

    Originally Posted by tombu
    In 2006 just set the "Fill color" for "Text" to "Background" in the Dimension Style Manager for whatever Dimension Style you're using.
    Originally Posted by joshua.andersen
    Is there a system variable that I can use to change this property? I am trying to not have to go through the dialog boxes to change it every time. I would like to have vlisp set a system variable which would change it then.

    Thanks in advance.
    There should never be a reason to modify a dimension. Change the dimension style or create a new one if you don't have one with the fill color set to background.
    Tom Beauford P.S.M. - Civil 2013 on Windows 7 Pro
    Design Analysis - Leon County Public Works/Engineering
    2280 Miccosukee Rd. Tallahassee, FL 32308-5310
    Ph# (850)606-1516

  7. #7
    Member
    Join Date
    2004-08
    Posts
    6

    Default Re: Background mask default offset - Dimension Text

    Sorry Tombu I guess I should clarify myself. We have some clients that, due to printing issues they say, do not want the text to whiteout what is behind it they want the text moved, others are happy to just have the text clear out behind it. I am trying to write a lisp routine that will go trough a drawing and change the text to have that background mask property on. That way I can also turn it off for the clients that do not like it and I can also update some older drawing that were done before I knew about that property and before it was in ACAD.

  8. #8
    Woo! Hoo! my 1st post
    Join Date
    2008-11
    Posts
    1

    Default Re: Background mask default offset - Dimension Text

    For anyone who is having problems with clients saying they do not want text masks to be used due to printing problems, I suspect this problem is due to the wipeout plotting as a solid black box, to mitigate this issue just set the colour of your wipeout frame to 255,255,255. This should solve the problems for your clients

  9. #9
    Member
    Join Date
    2009-07
    Posts
    45

    Default Re: Background mask default offset - Dimension Text

    Quote Originally Posted by joshua.andersen View Post
    Is there a system variable that I can use to change this property? I am trying to not have to go through the dialog boxes to change it every time. I would like to have vlisp set a system variable which would change it then.

    Thanks in advance.
    There are not many threads with this topic... So I found the variable other way.. and basically used the Dimstyle manager and the option "compare", and then I selected two identical dimension styles (created by a lisp routine) with the only difference I marked the background fill in one of them.. so the differences between them appeared in a list.. and there was it:

    Dimtfill 0 (no background fill)
    Dimtfill 1 (background fill)

  10. #10
    Certifiable AUGI Addict irneb's Avatar
    Join Date
    2007-07
    Location
    Jo'burg SA
    Posts
    4,348

    Default Re: Background mask default offset - Dimension Text

    Thanks for posting, that is also shown in Help though: Normal ACad Help --> Command Reference --> System Variables --> D System Variables. See screen capture.

    BTW, from there you can also see the DIMTFILLCLR variable which governs the fill colour. However, I don't seem to find anything for setting it to Background Color - like with a wipeout, only ByBlock, ByLayer or Color Index 1-255.
    Attached Images Attached Images
    Knowledge is proportional to experience, but wisdom is inversely proportional to ego!
    My little bit of "wisdom": Hind-sight is useless, unless used to improve the next forethought!

Page 1 of 2 12 LastLast

Similar Threads

  1. Background mask default offset
    By djohnson.35902 in forum AutoCAD General
    Replies: 9
    Last Post: 2010-08-20, 02:33 PM
  2. Dimension Background Mask turns White (No visible Text)!
    By Cosmic Traveller in forum AutoCAD General
    Replies: 2
    Last Post: 2009-07-22, 04:44 PM
  3. Dimension Text background mask
    By Grumpy in forum AutoCAD General
    Replies: 3
    Last Post: 2005-08-24, 12:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •