AutoCAD 2000/2000i/2002 Archive (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fractions as attributes

8 REPLIES 8
Reply
Message 1 of 9
Anonymous
216 Views, 8 Replies

Fractions as attributes

Is there a way to edit a block's attribute using the mtext editor? I
created a weld symbol block with attributes and would like to use the
mtext fraction stacking capability to enter weld sizes such as 1/8 or
3/16. I would like to stay with the romans.shx style and stay away from
any third party fonts that provide fraction capabilities. Anyone have a
good way of accomplishing this?

Thanks
8 REPLIES 8
Message 2 of 9
Anonymous
in reply to: Anonymous

I have never found a way to use stacked fractions in an
attribute.
AutoCAD 2004 has the same problem 😞

--

-Jason
Member of the Autodesk Discussion Forum Moderator Program


"Leo Montero" wrote in message
news:3E6E098D.1D32F9AF@llnl.gov...
> Is there a way to edit a block's attribute using the mtext
editor? I
> created a weld symbol block with attributes and would like to
use the
> mtext fraction stacking capability to enter weld sizes such as
1/8 or
> 3/16. I would like to stay with the romans.shx style and stay
away from
> any third party fonts that provide fraction capabilities.
Anyone have a
> good way of accomplishing this?
>
> Thanks
>
Message 3 of 9
Anonymous
in reply to: Anonymous

Attributes are like plain old TEXT (Explode an Mtext block to see what I
mean): stacked fractions not an option.

--
Dean Saadallah
http://www.pendean.com
LT Express Utilities
http://www.pendean.com/ltexpress
Expanded Links Pages
http://www.pendean.com/lt/links.htm
--
Message 4 of 9
Anonymous
in reply to: Anonymous

You could probably do this if you want to use a non-standard font such as
SIMPFRAC which has fractions defined to some of the lower case keys.

"Leo Montero" wrote in message
news:3E6E098D.1D32F9AF@llnl.gov...
> Is there a way to edit a block's attribute using the mtext editor? I
> created a weld symbol block with attributes and would like to use the
> mtext fraction stacking capability to enter weld sizes such as 1/8 or
> 3/16. I would like to stay with the romans.shx style and stay away from
> any third party fonts that provide fraction capabilities. Anyone have a
> good way of accomplishing this?
>
> Thanks
>
Message 5 of 9
Anonymous
in reply to: Anonymous

Leo
Us a separate attribute for numerator and denominator.

Kent


"Leo Montero" wrote in message
news:3E6E098D.1D32F9AF@llnl.gov...
> Is there a way to edit a block's attribute using the mtext editor? I
> created a weld symbol block with attributes and would like to use the
> mtext fraction stacking capability to enter weld sizes such as 1/8 or
> 3/16. I would like to stay with the romans.shx style and stay away from
> any third party fonts that provide fraction capabilities. Anyone have a
> good way of accomplishing this?
>
> Thanks
>
Message 6 of 9
Anonymous
in reply to: Anonymous

at my last job i modified romans.shx to include subscript,
superscript and size controls so you could generate any
fraction like this: [^NUMERATOR_/_DENOMINATOR^]

[ causes a reduction in size by a factor of 0.8
^ causes the text to shift up
_ causes the text to shift down
/ i redefined the slash so that it did not take up any space
_^ each shift down must be countered by a shift up
] the last character causes the size to go back to normal (1.25)
this also allowed Q_[10] to show correctly as "Q sub 10"

i dont recall the exact code changes to romans.shp but it
was not difficult. i've been thinking about doing it again here

the only drawback is having to distribute the modified
romans.shx with your drawings


"Leo Montero" wrote in message
news:3E6E098D.1D32F9AF@llnl.gov...
> Is there a way to edit a block's attribute using the mtext editor? I
> created a weld symbol block with attributes and would like to use the
> mtext fraction stacking capability to enter weld sizes such as 1/8 or
> 3/16. I would like to stay with the romans.shx style and stay away from
> any third party fonts that provide fraction capabilities. Anyone have a
> good way of accomplishing this?
>
> Thanks
>
Message 7 of 9
Anonymous
in reply to: Anonymous

I would be careful modifying standard AutoCAD fonts if you share files.
Imagine someone else opening the drawing and seeing question marks. Much
nicer to make your own font file that you can share. I don't want someone
else's modified AutoCAD "standard" font file on my network.

"mataeux" wrote in message
news:FACA59DD029291E675034F165DB14553@in.WebX.maYIadrTaRb...
> at my last job i modified romans.shx to include subscript,
> superscript and size controls so you could generate any
> fraction like this: [^NUMERATOR_/_DENOMINATOR^]
>
> [ causes a reduction in size by a factor of 0.8
> ^ causes the text to shift up
> _ causes the text to shift down
> / i redefined the slash so that it did not take up any space
> _^ each shift down must be countered by a shift up
> ] the last character causes the size to go back to normal (1.25)
> this also allowed Q_[10] to show correctly as "Q sub 10"
>
> i dont recall the exact code changes to romans.shp but it
> was not difficult. i've been thinking about doing it again here
>
> the only drawback is having to distribute the modified
> romans.shx with your drawings
>
>
> "Leo Montero" wrote in message
> news:3E6E098D.1D32F9AF@llnl.gov...
> > Is there a way to edit a block's attribute using the mtext editor? I
> > created a weld symbol block with attributes and would like to use the
> > mtext fraction stacking capability to enter weld sizes such as 1/8 or
> > 3/16. I would like to stay with the romans.shx style and stay away from
> > any third party fonts that provide fraction capabilities. Anyone have a
> > good way of accomplishing this?
> >
> > Thanks
> >
>
>
Message 8 of 9
Anonymous
in reply to: Anonymous

That's an idea I never thought of. I might give that a try. Thanks

Kent Elrod wrote:

> Leo
> Us a separate attribute for numerator and denominator.
>
> Kent
>
> "Leo Montero" wrote in message
> news:3E6E098D.1D32F9AF@llnl.gov...
> > Is there a way to edit a block's attribute using the mtext editor? I
> > created a weld symbol block with attributes and would like to use the
> > mtext fraction stacking capability to enter weld sizes such as 1/8 or
> > 3/16. I would like to stay with the romans.shx style and stay away from
> > any third party fonts that provide fraction capabilities. Anyone have a
> > good way of accomplishing this?
> >
> > Thanks
> >
Message 9 of 9
Anonymous
in reply to: Anonymous

I did something similar to that but it caused too many problems if someone
opened my drawings and wasn't aware of the modified font file. They would get
?s instead of the fraction. Thats why I want to stay with packaged AutoCad
fonts. Thanks for the suggestion anyway.

mataeux wrote:

> at my last job i modified romans.shx to include subscript,
> superscript and size controls so you could generate any
> fraction like this: [^NUMERATOR_/_DENOMINATOR^]
>
> [ causes a reduction in size by a factor of 0.8
> ^ causes the text to shift up
> _ causes the text to shift down
> / i redefined the slash so that it did not take up any space
> _^ each shift down must be countered by a shift up
> ] the last character causes the size to go back to normal (1.25)
> this also allowed Q_[10] to show correctly as "Q sub 10"
>
> i dont recall the exact code changes to romans.shp but it
> was not difficult. i've been thinking about doing it again here
>
> the only drawback is having to distribute the modified
> romans.shx with your drawings
>
> "Leo Montero" wrote in message
> news:3E6E098D.1D32F9AF@llnl.gov...
> > Is there a way to edit a block's attribute using the mtext editor? I
> > created a weld symbol block with attributes and would like to use the
> > mtext fraction stacking capability to enter weld sizes such as 1/8 or
> > 3/16. I would like to stay with the romans.shx style and stay away from
> > any third party fonts that provide fraction capabilities. Anyone have a
> > good way of accomplishing this?
> >
> > Thanks
> >

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report