Results 1 to 2 of 2

Thread: Find and Replace stacked diagonal fractions?

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

    Cool Find and Replace stacked diagonal fractions?

    Does anyone out there know a way I can find and replace numbers with stacked fractions? I have my fractions auto-stack diagonally, with the space taken away before the fraction.

    What I have is W12x22 (-4 1/16") and want to change it to W12x22 (-1 13/16")
    The steel size may vary and the fractions are diagonally stacked with .8 text height.

    What I've tried is:
    Find Text String (*)
    Replace With (-1\13#16")

    This kind of gives me what I want, but the "16" was the wrong height, it's height is at 1 instead of the .8 as the "13" is.

    I've also tried
    (-1\13#16 "), (-1\13#16\"), (-1\13#16/") with worse results.

    I'm hoping it's an easy code thing I can add to the text string.

    Thanks in advance.

    ps, I'm using ADT 2006 if it matters.

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

    Thumbs up Re: Find and Replace stacked diagonal fractions?

    After tweaking it allot, I figured away around it.
    Here's what seemed to work (good enough)

    Find Text String (*)
    Replace With (-1\13#\H.7x16\H1.5x")

    The \H.7 sets the text following it to .7 of the Height before it.
    To get the ") back to the correct height, I needed to add
    \H1.5x before it.

    This still didn't exactly duplicate what it looked like after simply editing in the mtext dialog box. The "16" was the correct height but not placed quite as low as through mtext settings. But I have allot of these (300+) to edit and I don't want to have to go into each one to change them.

    Arggg.


Similar Threads

  1. 2014: Converting all fractions in all text selected to stacked fractions
    By mbrandt5 in forum AutoCAD General
    Replies: 2
    Last Post: 2015-06-10, 09:42 PM
  2. Stacked Fractions
    By clarkmorgan in forum Revit Architecture - Wish List
    Replies: 6
    Last Post: 2012-06-14, 10:03 PM
  3. Replies: 8
    Last Post: 2010-06-16, 02:48 PM
  4. Stacked fractions
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2006-01-31, 01:02 AM
  5. Use Find/Replace on stacked fractions
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2005-10-17, 05:13 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
  •