Jump to content

Multiline Leader Text space


himal

Recommended Posts

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>"

Link to comment
Share on other sites

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)

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...