wimal Posted January 23, 2018 Posted January 23, 2018 Can I create a text style named MY TEXTS and load font type ARIAL by lisp. Quote
asos2000 Posted January 23, 2018 Posted January 23, 2018 (command "style" "TextStyle" "swisscl.ttf" "A" "Y" "N" "2.5" "1" "0" "n" "n") Quote
Stefan BMR Posted January 23, 2018 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
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.