GISdude Posted December 17, 2021 Posted December 17, 2021 Hi all, I'm having problems just creating a + symbol line type. I can have four pluses come up, but then a line comes up between them. I want all + signs. No spaces or dashes. Any tips on this? I just need pluses. Super frustrating. Thanks, Quote
GISdude Posted December 17, 2021 Author Posted December 17, 2021 Yes, but no dots between. Just the plus symbols. Quote
eldon Posted December 17, 2021 Posted December 17, 2021 The AutoCAD linetype definition HAS to have a line at the beginning of the definition. A dot is the smallest line possible. Quote
GISdude Posted December 17, 2021 Author Posted December 17, 2021 Ahhh...I see. Well, it is what it is. I appreciate the help on this eldon. Lemme give it a try. Quote
eldon Posted December 18, 2021 Posted December 18, 2021 If you have a TTF font in the TextStyle and adjust the position of the text, you can hide some of the dots. Quote
tombu Posted December 18, 2021 Posted December 18, 2021 and changing that A to an S gets rid of the lines at the ends. *PlusPlus, + + + + + S,0,-.35,["+",Arial,s=.333,x=-.377,y=-.164],-.65 If you keep all you linetype definition files in the same support folder as acad.lin they're a lot easier to access and reference without having to include paths. Using Lee Mac's Load Linetypes lisp create a macro like: ^C^C^P(or NewStyle (load "NewStyle.lsp"))(NewStyle "Arial" "arial.ttf") (or LM:LoadLinetypes (load "LoadLinetypesV1-3.lsp"))(LM:LoadLinetypes '("PlusPlus") T) with this lisp to make sure you have the Arial text style in your drawing: ; Add New Text Style by Tom Beauford (defun NewStyle (TxtStyle Font / acadApp acadDoc styles objStyle FType) (setq acadApp (vlax-get-Acad-object) acadDoc (vla-get-ActiveDocument acadApp) styles (vla-get-textstyles acadDoc) objStyle (vla-add styles TxtStyle) FType (vl-filename-extension Font) ) (if(= ".ttf" FType)(setq Font (strcat "C:\\Windows\\Fonts\\" Font))) (setq Font (findfile Font)) (princ "\nFont = ")(princ Font)(princ) (vla-put-fontfile objStyle Font) (setvar 'textstyle TxtStyle) (princ) ) Of course ronjonp's Make Linetype With Embedded Characters is still the quickest way to create Linetypes like these. 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.