Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Mtext linespacing

3 REPLIES 3
Reply
Message 1 of 4
Anonymous
163 Views, 3 Replies

Mtext linespacing

Two questions here. 1: is there a way to programatically change the linespacing on Mtext. We have a ton of text that needs to be Exactly, and MatchProps doesn't seem to do it. 2: Is there a way to make this the default. From the standpoint of consistency we would rather just set it and move on. Thanks, Gordon
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: Anonymous

AutoCAD version is? -- Dean Saadallah Add-on products for LT http://www.pendean.com/lt --
Message 3 of 4
Anonymous
in reply to: Anonymous

"Dean Saadallah" wrote in message news:3fdf7e4d$1_7@statler... > AutoCAD version is? Doh! Crazy day. R2002 now, R2004 within 30 days. Thanks, Gordon
Message 4 of 4
Anonymous
in reply to: Anonymous

"Gordon Price" wrote > Two questions here. > 1: is there a way to programatically change the linespacing on Mtext. We > have a ton of text that needs to be Exactly, and MatchProps doesn't seem to > do it. Not the best approach, but it should give you some ideas... ;;; Assumes *active-document* is set to the acvive-document vla object ;;; (vlax-for item (vlax-get *active-document* "ModelSpace") (if (eq (vlax-get item "ObjectName") "AcDbMText") (progn (vlax-put item "LineSpacingFactor" "1.0") (vlax-put item "LineSpacingStyle" "2") ) ) )

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost