Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Help creating an attributed block with vertical text

10 REPLIES 10
SOLVED
Reply
Message 1 of 11
raceharder
758 Views, 10 Replies

Help creating an attributed block with vertical text

raceharder
Enthusiast
Enthusiast

I have a block I need to create that should be 1.75 inches tall and 0.5 inches wide.  I need one line of text running down the center of the block with a text height of 1.2.  I need the text to be an attribute and not just text.  I would think this would be an easy thing to do, but it has me stumped.  No matter what I do, I end up with a horizontal line of text.  Any help would be greatly appreciated.  Just let me know what information you may need from me and I will reply quickly.  Thanks in advance for your help.

0 Likes

Help creating an attributed block with vertical text

I have a block I need to create that should be 1.75 inches tall and 0.5 inches wide.  I need one line of text running down the center of the block with a text height of 1.2.  I need the text to be an attribute and not just text.  I would think this would be an easy thing to do, but it has me stumped.  No matter what I do, I end up with a horizontal line of text.  Any help would be greatly appreciated.  Just let me know what information you may need from me and I will reply quickly.  Thanks in advance for your help.

10 REPLIES 10
Message 2 of 11
cadffm
in reply to: raceharder

cadffm
Consultant
Consultant

Hi,

I guess you editing your block, but you checking the rotation of Attribut by looking to an "old" blockreference?

 

Insert a new one or run ATTSYNC to update your attribute.

 

_

 

Your ATTDEF in BEDIT

Check the properties, is it set ANNOTATION = yes or no?

Sebastian

0 Likes

Hi,

I guess you editing your block, but you checking the rotation of Attribut by looking to an "old" blockreference?

 

Insert a new one or run ATTSYNC to update your attribute.

 

_

 

Your ATTDEF in BEDIT

Check the properties, is it set ANNOTATION = yes or no?

Sebastian

Message 3 of 11
raceharder
in reply to: cadffm

raceharder
Enthusiast
Enthusiast

The text should be oriented horizontally but run vertically so that it looks like this:

 

A

T

T

R

I

B

U

T

E

 

There is a block currently in use, but it was made by creating one attribute for each letter so you have to hit enter after each letter.  I was trying to eliminate the need to hit enter after each letter.

 

I appreciate the reply, but I don't think I gave you enough info to start.  I don't think rotation will work for me in this case, but if there is, please let me know how.  Also, I have tried attsync and that didn't help.

 

0 Likes

The text should be oriented horizontally but run vertically so that it looks like this:

 

A

T

T

R

I

B

U

T

E

 

There is a block currently in use, but it was made by creating one attribute for each letter so you have to hit enter after each letter.  I was trying to eliminate the need to hit enter after each letter.

 

I appreciate the reply, but I don't think I gave you enough info to start.  I don't think rotation will work for me in this case, but if there is, please let me know how.  Also, I have tried attsync and that didn't help.

 

Message 4 of 11
cadffm
in reply to: raceharder

cadffm
Consultant
Consultant

Okay.

Try it with TEXT or MTEXT, it is the same for Attdefs.

 

If you do it for (M)Text, you can do that for attdefs too.

So it has nothing to do with blocks or attdefs, but with text objects you can test it faster.

 

How to do: 

Set up a STYLE with .shx Font and Vertical option on.

 

Sebastian

0 Likes

Okay.

Try it with TEXT or MTEXT, it is the same for Attdefs.

 

If you do it for (M)Text, you can do that for attdefs too.

So it has nothing to do with blocks or attdefs, but with text objects you can test it faster.

 

How to do: 

Set up a STYLE with .shx Font and Vertical option on.

 

Sebastian

Message 5 of 11
pendean
in reply to: raceharder

pendean
Community Legend
Community Legend

@raceharder wrote:

...I was trying to eliminate the need to hit enter after each letter....

 


Do you have a text STYLE defined and set to be vertical in your DWG file(s) first?

If yes, then change the font the attribute is using to that one, then type away.

if no, do so now.

 

pendean_0-1724267282605.png

 

But you might find it challenging to control the overall height. Your block was created like that by someone for a reason.

0 Likes


@raceharder wrote:

...I was trying to eliminate the need to hit enter after each letter....

 


Do you have a text STYLE defined and set to be vertical in your DWG file(s) first?

If yes, then change the font the attribute is using to that one, then type away.

if no, do so now.

 

pendean_0-1724267282605.png

 

But you might find it challenging to control the overall height. Your block was created like that by someone for a reason.

Message 6 of 11
raceharder
in reply to: pendean

raceharder
Enthusiast
Enthusiast

Thanks for your reply.  Yes, I do have a style created, but my "vertical" option is grey.

 

raceharder_0-1724268030390.png

 

0 Likes

Thanks for your reply.  Yes, I do have a style created, but my "vertical" option is grey.

 

raceharder_0-1724268030390.png

 

Message 7 of 11
ChicagoLooper
in reply to: raceharder

ChicagoLooper
Mentor
Mentor

@raceharder wrote

<<There is a block currently in use, but it was made by creating one attribute for each letter so you have to hit enter after each letter. >>

 

You're right!!

There's an attribute for each individual letter and that's not practical. It's not efficient.

 

Chicagolooper

EESignature

0 Likes

@raceharder wrote

<<There is a block currently in use, but it was made by creating one attribute for each letter so you have to hit enter after each letter. >>

 

You're right!!

There's an attribute for each individual letter and that's not practical. It's not efficient.

 

Chicagolooper

EESignature

Message 8 of 11
raceharder
in reply to: ChicagoLooper

raceharder
Enthusiast
Enthusiast

Unfortunately, the letters need to be oriented horizontally.  😞

0 Likes

Unfortunately, the letters need to be oriented horizontally.  😞

Message 9 of 11
cadffm
in reply to: cadffm

cadffm
Consultant
Consultant

@cadffm  schrieb:

Okay.

Try it with TEXT or MTEXT, it is the same for Attdefs.

 

If you do it for (M)Text, you can do that for attdefs too.

So it has nothing to do with blocks or attdefs, but with text objects you can test it faster.

 

How to do: 

Set up a STYLE with .shx Font and Vertical option on.

 


 

 
 

 

 

Sebastian

0 Likes


@cadffm  schrieb:

Okay.

Try it with TEXT or MTEXT, it is the same for Attdefs.

 

If you do it for (M)Text, you can do that for attdefs too.

So it has nothing to do with blocks or attdefs, but with text objects you can test it faster.

 

How to do: 

Set up a STYLE with .shx Font and Vertical option on.

 


 

 
 

 

 

Sebastian

Message 10 of 11
Kent1Cooper
in reply to: raceharder

Kent1Cooper
Consultant
Consultant
Accepted solution

You need to use a Font in the Style that is made for the option of vertical configuration.  The .TTF fonts typically are not.  That pretty much means use one of AutoCAD's .SHX fonts, like SIMPLEX, ROMANS, ROMAND if you want something a little heavier, etc.

OR:  If you really need a .TTF font, define the Attribute as Multi-line, and justify it in a way to align the lines of it vertically.  In the ATTDEF dialog box:

Kent1Cooper_0-1724269078025.png

You will need to give it Enters between multi-line content characters, but you can at least get it to look as you want without requiring a .SHX font.  Pick on the red-circled thingie to edit multi-line-wise:

Kent1Cooper_1-1724269216961.png

 

.

Kent Cooper, AIA
0 Likes

You need to use a Font in the Style that is made for the option of vertical configuration.  The .TTF fonts typically are not.  That pretty much means use one of AutoCAD's .SHX fonts, like SIMPLEX, ROMANS, ROMAND if you want something a little heavier, etc.

OR:  If you really need a .TTF font, define the Attribute as Multi-line, and justify it in a way to align the lines of it vertically.  In the ATTDEF dialog box:

Kent1Cooper_0-1724269078025.png

You will need to give it Enters between multi-line content characters, but you can at least get it to look as you want without requiring a .SHX font.  Pick on the red-circled thingie to edit multi-line-wise:

Kent1Cooper_1-1724269216961.png

 

.

Kent Cooper, AIA
Message 11 of 11
pendean
in reply to: raceharder

pendean
Community Legend
Community Legend

@raceharder wrote:

....but my "vertical" option is grey.


pendean_0-1724269999144.png

 

0 Likes


@raceharder wrote:

....but my "vertical" option is grey.


pendean_0-1724269999144.png

 

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report