ATS1211 Posted January 24, 2012 Posted January 24, 2012 Hi all, I'm fairly new to lisp programming and am trying to write a lisp routine to change the line space style of all the mtext in a drawing from "At least" to "Exactly". I would be incorporating this step into an existing lisp routine that does a few other things. So far, I have searched and cannot find a DXF code that controls this variable. I did find a lisp that used: "vla-put-TextLineSpacingStyle" and "acLineSpacingStyleExactly" However, all I get is an error saying "ActiveX Server returned the error: unknown name: TextLineSpacingStyle" Any help is very appreciated! Thanks! Quote
MSasu Posted January 25, 2012 Posted January 25, 2012 Maybe this will help you: (entmod (subst (cons 1 (strcat "\\pxse1;" (cdr (assoc 1 MyMTextEntity)))) (assoc 1 MyMTextEntity) MyMTextEntity)) Regards, Mircea 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.