tagkelas Posted August 21, 2009 Posted August 21, 2009 Does anyone know how to change text style in this lisp routine (font..)? KORKTH.LSP Quote
Lee Mac Posted August 21, 2009 Posted August 21, 2009 It sets it near the top: (command "style" "standard" "wgsimpl.shx" "" "" "" "" "") Either remove that line, or change it to what you want. Lee Quote
tagkelas Posted August 21, 2009 Author Posted August 21, 2009 Thanks for the answer Lee Mac. I saw that and I did it,but... If I modify it or erase it, it won't recognize the greek fonts. When you select a polyline it automatically adds a letter in every vertex in order. A,B,C ect (but in greek Α,Β,Γ..) See these samples with the previous routine (with some changings) The result is in 1.jpg but I need the second one (2.jpg) KORKTH.LSP Quote
Lee Mac Posted August 21, 2009 Posted August 21, 2009 You will probably need to use a font that supports greek :wink: Quote
tagkelas Posted August 22, 2009 Author Posted August 22, 2009 (command "style" "standard" "arial.shx" "" "" "" "" "") Is this correct? Quote
Lee Mac Posted August 22, 2009 Posted August 22, 2009 Perhaps something like: (commmand "_.-style" "standard" "arial.ttf" "" "" "" "" "") Quote
tagkelas Posted August 22, 2009 Author Posted August 22, 2009 Once again correct... Can you explain me where exactly is the code that adds the next letter in the next vertex (etc.) I think is in the next one sample. ;**************LABELS ON LANDMARKS********************** (setq ptp (polar (nth i pllst) angtxt (* ht 1.5))) (if (= i 17) (setq alfa 194) ) (command "text" "j" "c" ptp ht 100 (if (< i 24) (strcat prfx "%%" (itoa (+ i alfa)) sufx) (strcat prfx "%%217" (itoa (- i 23)) sufx) ) );endtext I congratulate you one more time not only for your help but for your lisp you gave us (- Incremental Numbering Suite - Automatic Numbering - Attribute Modification Suite - Dynamic Information Tool - Curve Aligned Text - Piping Program -). Very useful Quote
stevesfr Posted August 30, 2009 Posted August 30, 2009 Perhaps something like: (commmand "_.-style" "standard" "arial.ttf" "" "" "" "" "") Is it possible to somehow utilize an "english" font in this program, or is it not worth it to convert all the called for ascii symbols? A clue please. Steve Quote
Lee Mac Posted August 30, 2009 Posted August 30, 2009 Steve, Why not ASMI's program instead - I think it performs the same operation: http://www.asmitools.com/Files/Lisps/Tabcord.html Quote
stevesfr Posted August 30, 2009 Posted August 30, 2009 Steve, Why not ASMI's program instead - I think it performs the same operation: http://www.asmitools.com/Files/Lisps/Tabcord.html Lee, thanks, should have searched deeper; plus tabcord has all sort of user customization possibilities available! Steve Quote
Lee Mac Posted August 30, 2009 Posted August 30, 2009 Lee, thanks, should have searched deeper; plus tabcord has all sort of user customization possibilities available!Steve Yeah, I reckon that was one of ASMI's best ones Quote
Recommended Posts
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.