Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Convert Block to Text character

8 REPLIES 8
SOLVED
Reply
Message 1 of 9
jtm2020hyo
744 Views, 8 Replies

Convert Block to Text character

Is there any method to convert a block to a text character?

 

For example:

 

Since this...

 

jtm2020hyo_0-1632247521134.png

to this:

 

jtm2020hyo_1-1632247614953.png

 

Tags (1)
8 REPLIES 8
Message 2 of 9
3wood
in reply to: jtm2020hyo

Not quite sure about the question but I guess you can -

  • Redefine the block and replace the block content with the text, or
  • Make another block which contains the text, then replace the old block with the new block.
Message 3 of 9
jtm2020hyo
in reply to: 3wood

I mean insert block in the text.

 

... The block above is an electrical symbol that was used in the text

Message 4 of 9
Sea-Haven
in reply to: jtm2020hyo

Make a new block have the image in middle, with a attribute left, alignment Lower Right, Attribute right, alignment Lower left should work did for me.

 

Message 5 of 9
jtm2020hyo
in reply to: jtm2020hyo

looks like there is not way to create custom text character, I hope Autodesk's Devs add this option any day because could be powerful tool.

Message 6 of 9
Sea-Haven
in reply to: jtm2020hyo

You can create custom characters as TTF as suggested in your other post over at TheSwamp. 

 

I have hundreds of traffic signs and they are a TTF each sign 1 character.

 

SeaHaven_0-1632369651811.png

 

What about a SHX font.

 

Message 7 of 9
3wood
in reply to: jtm2020hyo

You don't need create a new font. There are tens of thousand of Unicode characters you can choose. The symbol in your image is a common Chinese ancient binary character which means "minor sun" or 10 in binary. 

For all similar Chinese ancient binary numbers and correspondent Unicode, please refer to this page.

I attached a dwg file which contains the special character you need. You can copy it into your drawing.

Capture4.JPG

Message 8 of 9
jtm2020hyo
in reply to: jtm2020hyo

Thank for the help, I never think this character exist in Chinese alphabet.

Not sure why but just the Annotative Style show the Chinese characters.

jtm2020hyo_1-1632413075194.png

 

If anyone is interested the characters can be exported with the Etransmit command

 

jtm2020hyo_0-1632413064138.png

 

... but I still think could be cool convert our blocks to Text Characters maybe with lisp or similar.

 

 

 

 

 

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