wimal Posted January 23, 2018 Share Posted January 23, 2018 Can I create a text style named MY TEXTS and load font type ARIAL by lisp. Quote Link to comment Share on other sites More sharing options...
asos2000 Posted January 23, 2018 Share Posted January 23, 2018 (command "style" "TextStyle" "swisscl.ttf" "A" "Y" "N" "2.5" "1" "0" "n" "n") Quote Link to comment Share on other sites More sharing options...
Stefan BMR Posted January 23, 2018 Share Posted January 23, 2018 Entmake way. First, a classic style, second for annotative Text style. (entmakex '( (0 . "STYLE") (100 . "AcDbSymbolTableRecord") (100 . "AcDbTextStyleTableRecord") (2 . "My TEXT") (70 . 0) (40 . 0.0);<- text height not defined (41 . 1.0) (50 . 0.0) (71 . 0) (42 . 2.0) (3 . "arial.ttf") (4 . "") ) ) (entmakex '( (0 . "STYLE") (100 . "AcDbSymbolTableRecord") (100 . "AcDbTextStyleTableRecord") (2 . "My TEXT") (70 . 0) (40 . 2.2);;<- text height (41 . 1.0) (50 . 0.0) (71 . 0) (42 . 2.2) (3 . "arial.ttf") (4 . "") (-3 ("AcadAnnotative" (1000 . "AnnotativeData") (1002 . "{") (1070 . 1) (1070 . 1) (1002 . "}") ) ) ) ) 1 Quote Link to comment Share on other sites More sharing options...
wimal Posted January 23, 2018 Author Share Posted January 23, 2018 Thanks for the both of you Quote Link to comment Share on other sites More sharing options...
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.