himal Posted June 16, 2021 Share Posted June 16, 2021 Hi , is thee any method increase the line and text space in mleader please help me M Leader.dwg Quote Link to comment Share on other sites More sharing options...
ammobake Posted June 16, 2021 Share Posted June 16, 2021 You mean the distance between the text and the underline? Quote Link to comment Share on other sites More sharing options...
himal Posted June 17, 2021 Author Share Posted June 17, 2021 yes Quote Link to comment Share on other sites More sharing options...
himal Posted June 17, 2021 Author Share Posted June 17, 2021 7 hours ago, ammobake said: You mean the distance between the text and the underline? yes Quote Link to comment Share on other sites More sharing options...
hosneyalaa Posted June 17, 2021 Share Posted June 17, 2021 (setq obj (vlax-ename->vla-object (car (entsel)))) (vlax-put obj'textrightattachmenttype 7) try Quote Link to comment Share on other sites More sharing options...
himal Posted June 17, 2021 Author Share Posted June 17, 2021 43 minutes ago, hosneyalaa said: (setq obj (vlax-ename->vla-object (car (entsel)))) (vlax-put obj'textrightattachmenttype 7) try Like this massage coming "Select object: #<VLA-OBJECT IAcadMLeader 00000298060662d8>" Quote Link to comment Share on other sites More sharing options...
BIGAL Posted June 17, 2021 Share Posted June 17, 2021 Try this worked for me but understand 2 lines of code and how to run. (defun c:mlgap ( / obj) (setq obj (vlax-ename->vla-object (car (entsel)))) (vlax-put obj'textrightattachmenttype 7) (princ) ) (c:mlgap) Quote Link to comment Share on other sites More sharing options...
himal Posted June 20, 2021 Author Share Posted June 20, 2021 It On 6/18/2021 at 4:54 AM, BIGAL said: Try this worked for me but understand 2 lines of code and how to run. (defun c:mlgap ( / obj) (setq obj (vlax-ename->vla-object (car (entsel)))) (vlax-put obj'textrightattachmenttype 7) (princ) ) (c:mlgap) Thanks for your lisp, but It is not work for me, how to do this Quote Link to comment Share on other sites More sharing options...
BIGAL Posted June 20, 2021 Share Posted June 20, 2021 I just tested again in Bricscad and it moved text away from the underline. What was error message ? Jsut copy and paste all of the code to command line to test, then pick your mleader. 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.