Jump to content

Recommended Posts

Posted

is this possible? or the "^text" "text^" applies to mtext only?:?

 

thanks in advance

Posted

I just experimented making a Multi Line attribute and using the format ^text and stacking, and the subscript shows properly when you're in the editor and when you plot, but the screen display looks like /text. Go figure.

Posted

it works in the multi-line text. but i have an attributed text block. and the ^text doesn't seem to work.

 

thanks.

Posted

I've managed to do this.

To do this, you need to temporarily set your MTEXTED variable to Notepad.

Then edit your attribute as you would normally. You will see that when you try to change the multi-line attribute, Notepad will open.

 

 

Then wherever you want to place

  • subscript text simply type
    {\H0.7x;\S^2;}

    into Notepad.

  • superscript text simply type
    {\H0.7x;\S2^;}

    into Notepad.

In the above syntax

  • H0.7x is a the height of the subscript/superscript text multiplied by the height of the rest of the text of the attribute
  • S^2 and S2^ are the different stack options. Both of which will insert 2, this can be changed to any text that you wish to be "stacked".

When done, simply reset your MTEXTED back to its original setting

Posted

I have attached the block i wanted to put superscript text to.

 

Those are medgases so i wanted to put oxygen (O^2) Carbon Dioxide (CO^2) et al. I cant seem to get it to work here.

 

Ive tried the notepad way it works if it's a multi line. but not on this block.

 

I must be doing something wrong.:?:unsure:

 

Thanks Again.

MG.dwg

Posted

The reason you couldn't get it to work is because you have multiple instances of attributes, not multi-line attributes.

I have tried to fix it, have a look see at the attached :)

MG-edit.dwg

Posted

Thanks NBC...much appreciated. Now i see the difference...:shock::D

Posted

Hi again NBC if i wanted the text widths to be editable not fixed at .4 do i just remove \W0.4000; ?

 

thanks thanks:)

Posted

check out the STYLE command, you will see I created a new style called Romans04 (or something like that). You should be able to change the width there

Posted

Oh ok...it's like a fix width?:? and can't be different for every other one?:unsure:

 

sorry that may sound toopid...

Posted

OK I got it... I just need to put {} to be able to change it's width individually...thanks again for your help NBC

Posted

There is always more than one way to do everything in AutoCAD; it is what achieves the desired end result is what it important.

Posted

Yeah...but there is just no way we can know all about it unless we ask and add it to our own knowledge. Thanks for Forums and helpful individuals like you :geek::)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...