How can I access text alignment from within a ULP

How can I access text alignment from within a ULP

robduarte
Collaborator Collaborator
535 Views
1 Reply
Message 1 of 2

How can I access text alignment from within a ULP

robduarte
Collaborator
Collaborator

Hi all,

I'm attempting to modify a ULP that replaces Eagle text with Hershey vector fonts. The ULP doesn't currently respect the text alignment of the text that it is replacing (eg: bottom-left, center, etc). I can't seem to find any info about this in the User Language reference. Any suggestions?

Thanks

Rob Duarte
Associate Professor in Art, Florida State University
Co-Director FSU Facility for Arts Research
http://art.fsu.edu/rob-duarte/

Twitter | YouTube

Reply
Reply
0 Likes
536 Views
1 Reply
Reply (1)
Message 2 of 2

jltharin
Advocate
Advocate

Hi @robduarte 


In your ULP you can check the align member of a text, see below:

jltharin_0-1615891929110.png

 

You can use command: CHANGE ALIGN TOP CENTER

Have a nice day!
jltharin

Reply
Reply
0 Likes