See the top rated post in this thread. Click here

Results 1 to 5 of 5

Thread: Dimension text...

  1. #1
    Member
    Join Date
    2004-08
    Posts
    41
    Login to Give a bone
    1

    Default Dimension text...

    hi all,
    i am a newcomer to this group and i am working in acad2004. i have come across a problem which i am putting below...

    I have to do some mathematical operations through VBA , by selecting dimension texts in my drawing.All the dimensions are textoverrides, since the drawing is not to scale.Sometimes I see the textsring values are in these formats like : {\Fsimplex.shx|c1;1271}, \A1;381... .
    I have understood that these are mtext formats. As such we are not consciously giving any formatting.I guess that these are coming along with the dimstyle.how to control these?.
    Also most of my drgs are outsourced.This adds more to the problem.A few times I
    Have seen exploded dim and In this the formatting char. appears in all exploded dimtexts.One way out is eliminating these characters by string manipulation functions,
    But I am not too sure whether I will be able to track all these varieties of characters coming along with the dimtext.Could somebody throw some light upon it…
    regards,
    SANTHOSH

  2. #2
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: Dimension text...

    I'm glad I don't have your problem. I know that there was code posted on Autodesk's Customization discussion group for stripping MText formatting, written by Steve Doman, I believe.

  3. #3
    The Silent Type Mike.Perry's Avatar
    Join Date
    2000-11
    Posts
    13,656
    Login to Give a bone
    0

    Default Re: Dimension text...

    Quote Originally Posted by RobertB
    I know that there was code posted on Autodesk's Customization discussion group for stripping MText formatting, written by Steve Doman, I believe.
    Hi

    Why not go directly to Steve Doman's web site -

    StripMtext v3.07

    Have a good one, Mike

  4. #4
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Red face Re: Dimension text...

    Quote Originally Posted by Mike.Perry
    Why not go directly to Steve Doman's web site
    Because I don't have it bookmarked, or even visited it.

  5. #5
    Member
    Join Date
    2004-08
    Posts
    41
    Login to Give a bone
    0

    Default Re: Dimension text...

    thanks all for your quick response.i have Just downloaded the mstrip code.


    regards,
    SANTHOSH

Similar Threads

  1. Multiple dimension values in dimension text
    By inventor.wishlist1738 in forum Inventor Wish List
    Replies: 0
    Last Post: 2009-02-08, 12:54 AM
  2. dimension text aligned w. dimension lines
    By soender in forum Revit Architecture - General
    Replies: 5
    Last Post: 2008-04-07, 02:50 PM
  3. Replies: 2
    Last Post: 2007-04-17, 03:08 PM
  4. Replies: 11
    Last Post: 2006-11-13, 01:08 PM
  5. Dimension and Dimension text alignment when using DVIEW
    By fmertz.118882 in forum AutoCAD General
    Replies: 3
    Last Post: 2006-08-11, 05:15 AM

Posting Permissions

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