Results 1 to 8 of 8

Thread: Change color of dim text overrides

  1. #1
    Member
    Join Date
    2005-06
    Posts
    21
    Login to Give a bone
    0

    Default Change color of dim text overrides

    I would like to change the color of manual dim text overrides as they are created. Is there a variable setting for this or a lsp routine perhaps?

    Thanks,
    Dennis

  2. #2
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    0

    Default Re: Change color of dim text overrides

    Try Kent Cooper's code at: https://forums.autodesk.com/t5/visua...107144#M323608
    Change "(vlax-put obj 'Color 256); = Bylayer" from Bylayer to whatever color you wish.

  3. #3
    Member
    Join Date
    2005-06
    Posts
    21
    Login to Give a bone
    0

    Default Re: Change color of dim text overrides

    Thanks Tom. I don't want the text on a new layer though, I just want the over-ridden text to be a different color. Any suggestions? I'm not much of a lisp user so modifying the code is bit beyond me without some guidance.

    Dennis

  4. #4
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,505
    Login to Give a bone
    0

    Default Re: Change color of dim text overrides

    Quote Originally Posted by dennis.moyes View Post
    Thanks Tom. I don't want the text on a new layer though, I just want the over-ridden text to be a different color. Any suggestions? I'm not much of a lisp user so modifying the code is bit beyond me without some guidance.

    Dennis
    The variable for the assigning a color to the dimension text is "dimclrt"
    (example)
    Code:
    (setvar "dimclrt" 1) ;;sets the color to 1 (red)

  5. #5
    Member
    Join Date
    2005-06
    Posts
    21
    Login to Give a bone
    0

    Default Re: Change color of dim text overrides

    Quote Originally Posted by Tom Beauford View Post
    Try Kent Cooper's code at: https://forums.autodesk.com/t5/visua...107144#M323608
    Change "(vlax-put obj 'Color 256); = Bylayer" from Bylayer to whatever color you wish.
    That still puts it on a new layer though, right?

  6. #6
    Member
    Join Date
    2005-06
    Posts
    21
    Login to Give a bone
    0

    Default Re: Change color of dim text overrides

    This is too complicated. I need a simple routine that answers 1 if/then statement: IF there is text in the dim text override property THEN change its color.

  7. #7
    Certified AUGI Addict cadtag's Avatar
    Join Date
    2000-12
    Location
    Cairo - no, not Illinois
    Posts
    5,069
    Login to Give a bone
    0

    Default Re: Change color of dim text overrides

    I think that would be a usefule idea, but it's not something you'll find out of the box. I'd suggest posting in the customization forum and requesting someone to help you code a .LSP routine.

  8. #8
    Member
    Join Date
    2005-06
    Posts
    21
    Login to Give a bone
    0

    Default Re: Change color of dim text overrides

    Thanks. I'll post if over there,

Similar Threads

  1. Replies: 3
    Last Post: 2012-12-19, 03:00 PM
  2. Dim Text Above the Dim Line
    By BeKirra in forum AutoLISP
    Replies: 21
    Last Post: 2012-06-19, 08:26 AM
  3. Replies: 4
    Last Post: 2010-02-23, 05:36 PM
  4. dim style overrides automatically. There is a button...
    By jniessen in forum AutoCAD 3D (2006 or below)
    Replies: 1
    Last Post: 2008-03-28, 04:35 PM
  5. Retain Dmension Overrides When Creating A New Dim Style
    By inventor.wishlist1738 in forum Inventor Wish List
    Replies: 0
    Last Post: 2007-07-22, 05:17 AM

Tags for this Thread

Posting Permissions

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