Jump to content

Mleader Mtext using lisp


Lee Chu Chu

Recommended Posts

I have the command syntax in my lisp file to create a splined Mleader but I when I try to add text to the Mleader using the Mleader settings, I end up getting text at the landing. How can I put the text at the arrowhead?

Link to comment
Share on other sites

I've already played around with a lot of the Mleader settings and cant seem to be able to get what I want. I basically have my own Mleaderstyle and tried modifying the settings as much as I can but cant seem to be able to get the text at the arrow head. It always ends up next to the landing which not what I want. Have you been able to find any settings that will allow me to do this?

Link to comment
Share on other sites

 
(setvar "orthomode" 0)
(setvar "clayer" "layer_0")
(setvar "cmleaderstyle" "style_25")
(command "mleader" "C" "L" "O" "L" "P" "X") 

Link to comment
Share on other sites

example.jpg.

Dont worry, figured it out. Here it is. So instead of having the R at the landing, I want the R at the arrowhead.

Link to comment
Share on other sites

You won't find any OOTB way to do that, although I would be surprised if Tharwat doesn't come up with something for you.

You could of course do this with a simple spline defined leader, and an unattached mtext. I use those myself, but with the arrow

attached to the item being referenced, rather than the test note, as is the norm.

When done that way, I think they look better, as the mtext position is adjustable to one's liking, and not dictated by the landing attachment position choices available in the multileader definition dialogue.

typical spline type leader.JPG

Link to comment
Share on other sites

How do I upload an image? Sorry, I am such a newbie on these forums.

 

Go down to the right side hand and press to Go advanced when you 'd like to reply to thread then after that from the attachment button you can add images or drawings according to file formats that are available in the list .

 

Upload a drawing with your desired result with the Mleader Style that you are using , which is style_25 to be able to reply to your request .

Link to comment
Share on other sites

You won't find any OOTB way to do that, although I would be surprised if Tharwat doesn't come up with something for you.

You could of course do this with a simple spline defined leader, and an unattached mtext. I use those myself, but with the arrow

attached to the item being referenced, rather than the test note, as is the norm.

When done that way, I think they look better, as the mtext position is adjustable to one's liking, and not dictated by the landing attachment position choices available in the multileader definition dialogue.

 

Ok, I am trying to use the one function in order to draw the splined leader and to have that R annotation. Any syntax in LISP that allows you to do that?

Link to comment
Share on other sites

Go down to the right side hand and press to Go advanced when you 'd like to reply to thread then after that from the attachment button you can add images or drawings according to file formats that are available in the list .

 

Upload a drawing with your desired result with the Mleader Style that you are using , which is style_25 to be able to reply to your request .

 

This is my desired result. Note where the annotation "R" is. What I have atm is the R at the landing but I want to have the R at the arrowhead as per this image.

 

Arrow.jpg

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