Results 1 to 4 of 4

Thread: LISP routine to remove Child dimension styles from Dim Styles?

  1. #1
    Member
    Join Date
    2006-12
    Posts
    7
    Login to Give a bone
    0

    Default LISP routine to remove Child dimension styles from Dim Styles?

    Hi Everyone!

    I have a problem with my dimensioning. I have my dimstyle set to LSI, however, when I place a dimension, it uses LSI$0. This dimstyle has different options than the LSI dimstyle. Has anyone else seen/had this happen to one of their dimension styles? The best part of this is when I go to the Dim Style Manager, this dimstyle (LSI$0) isn't there. (The only way I can see that it is LSI$0 is when I use the properties command.)

    I would love to get rid of this mystery dimstyle, does anyone have a lisp program to eliminate it. (Purge doesn't work.)

    The other option would be a lisp program to change all dimensions from LSI$0 to LSI.

    Thanks for any help with this!
    Ed

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

    Default Re: LISP routine to remove Child dimension styles from Dim Styles?

    I beleive the style named "LSI$0" is a decendent of of "LSI".
    AutoCAD assigns the "$#" for the leader when you use the leader command within the dimension style.
    The "#" means something (a variable) but I don't know what (yet).

    I'll check it out.

    Anyway, I'm pretty sure it's any leader associated with the parent dimstyle.
    It belongs there if the dimesion style is there and there are leaders.

    Ok?

  3. #3
    AUGI Addict kennet.sjoberg's Avatar
    Join Date
    2002-05
    Posts
    1,707
    Login to Give a bone
    0

    Default Re: LISP routine to remove Child dimension styles from Dim Styles?

    It may be this causing your trouble. . .
    If you bind an xref ( as bind ) and explode it, you will get copies of dimstyles, textstyle, linetypes. . .
    with $0$ in the middle of the name
    If you then try to rename it to the original name you can not,
    and maybe accidentally renamed to "close to"

    a simple workaround is to use _matchprop.

    : ) Happy Computing !

    kennet

    BTW (Purge doesn't work.) try audit also.
    Last edited by kennet.sjoberg; 2007-02-25 at 05:12 PM. Reason: typo

  4. #4
    I could stop if I wanted to
    Join Date
    2002-02
    Location
    Kansas
    Posts
    487
    Login to Give a bone
    0

    Default Re: LISP routine to remove Child dimension styles from Dim Styles?

    Quote Originally Posted by tedg
    I beleive the style named "LSI$0" is a decendent of of "LSI".
    AutoCAD assigns the "$#" for the leader when you use the leader command within the dimension style.
    The "#" means something (a variable) but I don't know what (yet).

    I'll check it out.

    Anyway, I'm pretty sure it's any leader associated with the parent dimstyle.
    It belongs there if the dimesion style is there and there are leaders.

    Ok?
    if your dimstyle as defend setting for type of dimension

    7 LEADER
    2 ANGULAR
    3 DIAMETER
    0 LINEAR
    6 ORDINATE
    4 RADIAL
    then the $# is add to the Style name
    and if you use lisp to change the dimstyle you use that name when you lookup the dimstyle.

    be for autocad 2000 this # and not the name show when you edit the dim style
    Last edited by jwanstaett; 2007-02-24 at 04:09 PM.

Similar Threads

  1. LISP Routine to remove all unrefernced Xref's
    By stephen.coff in forum AutoLISP
    Replies: 24
    Last Post: 2015-10-15, 10:11 AM
  2. 2012: Scrubbing out Text styles and Dimension styles
    By BrenDillon-IHA in forum Revit Architecture - General
    Replies: 2
    Last Post: 2012-12-11, 05:29 PM
  3. VBA.NET Routine to Merge Text Styles
    By chillme1 in forum Dot Net API
    Replies: 6
    Last Post: 2011-02-24, 11:27 AM
  4. Child styles
    By eleonard in forum AutoCAD Civil 3D - General
    Replies: 1
    Last Post: 2010-05-03, 10:21 PM
  5. Sharing standard Dimension styles, text styles, hatch patterns, etc
    By dhavalpatel_us337373 in forum AutoCAD General
    Replies: 1
    Last Post: 2007-02-02, 08:34 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
  •