Text Label Lisp Routine

Status
Not open for further replies.

cadtech

Usenet Archive
Joined
Apr 27, 2001
Messages
3
Reaction score
0
Does anyone know of a simple lisp routine that will place a user defined text string, above or below a line, using the current text style

Thanks,

Rick
 
Assuming this is a single line of text, what you can do is create a block with two attributes (1 above and 1 below), and with ATTREQ set to 1, place the block where you want it. You can adjust the spacing of the attribues until you get it right. After that the original insertion of the text will always be the same distance from the line. They will also be movable with GRIPS when you are done. You can also make a 0.0 length line on the DEFPOINTS layer to include in the block definition so that you can select the block if you have no attribute values.
 
There are several solutions:
If the line is for text purpose only, you can write %%u before text, and it will bi underlined. To have line above text write %%o before text. TEXT and DTEXT commands have a justify option, try using TC and BC options.

"cadtech" wrote:

Does anyone know of a simple lisp routine that will place a user defined text string, above or below a line, using the current text style

Thanks,

Rick
 
Status
Not open for further replies.

Latest threads

Back
Top