+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 12
  1. #1
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2014
    Posts
    57

    Default Mleader Mtext using lisp

    Registered forum members do not see this ad.

    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?

  2. #2
    Luminous Being Tharwat's Avatar
    Discipline
    Mechanical
    Tharwat's Discipline Details
    Occupation
    MEP AutoCAD Draughtsman
    Discipline
    Mechanical
    Details
    HVAC, Drainage, Water Supply, Fire Fighting and a little about Electricity.
    Using
    AutoCAD 2015
    Join Date
    Oct 2009
    Location
    Great Syria , Living in Abu Dhabi
    Posts
    6,053

    Default

    I think you should modify the setting of the Mleader settings first then you 'd get it accordingly .

  3. #3
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2014
    Posts
    57

    Default

    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?

  4. #4
    Luminous Being Tharwat's Avatar
    Discipline
    Mechanical
    Tharwat's Discipline Details
    Occupation
    MEP AutoCAD Draughtsman
    Discipline
    Mechanical
    Details
    HVAC, Drainage, Water Supply, Fire Fighting and a little about Electricity.
    Using
    AutoCAD 2015
    Join Date
    Oct 2009
    Location
    Great Syria , Living in Abu Dhabi
    Posts
    6,053

    Default

    Can you show the problem with a drawing with an image ? with your codes ( if are there ) ?

  5. #5
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2014
    Posts
    57

    Default

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

  6. #6
    Luminous Being Tharwat's Avatar
    Discipline
    Mechanical
    Tharwat's Discipline Details
    Occupation
    MEP AutoCAD Draughtsman
    Discipline
    Mechanical
    Details
    HVAC, Drainage, Water Supply, Fire Fighting and a little about Electricity.
    Using
    AutoCAD 2015
    Join Date
    Oct 2009
    Location
    Great Syria , Living in Abu Dhabi
    Posts
    6,053

    Default

    Upload the a drawing that have the Mleader style

  7. #7
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2014
    Posts
    57

    Default

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

  8. #8
    Full Member
    Using
    AutoCAD 2014
    Join Date
    Jul 2014
    Posts
    57

    Default

    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.

  9. #9
    Luminous Being Dadgad's Avatar
    Using
    AutoCAD 2013
    Join Date
    Nov 2011
    Location
    At the confluence of worthlessness & invaluability
    Posts
    5,965

    Default

    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.
    Attached Images
    Volume and repetition do not validate opinions forged in the absence of thought.

  10. #10
    Luminous Being Tharwat's Avatar
    Discipline
    Mechanical
    Tharwat's Discipline Details
    Occupation
    MEP AutoCAD Draughtsman
    Discipline
    Mechanical
    Details
    HVAC, Drainage, Water Supply, Fire Fighting and a little about Electricity.
    Using
    AutoCAD 2015
    Join Date
    Oct 2009
    Location
    Great Syria , Living in Abu Dhabi
    Posts
    6,053

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by Lee Chu Chu View Post
    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 .

Similar Threads

  1. Set MLeader to Existing MLeader Style via LISP
    By parkerdepriest in forum AutoLISP, Visual LISP & DCL
    Replies: 7
    Last Post: 22nd Sep 2017, 09:13 am
  2. Mleader, Mtext and AutoLisp
    By guitarguy1685 in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 16th Aug 2011, 03:26 pm
  3. Mleader Dialog Box in a Lisp
    By TheyCallMeJohn in forum AutoLISP, Visual LISP & DCL
    Replies: 14
    Last Post: 21st Jan 2011, 07:09 pm
  4. Mleader with predifined, auto text or mtext?
    By Michael83 in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 5th Oct 2010, 09:27 pm
  5. help! mleader/qleader's text or mtext rotation.
    By ODEY in forum AutoLISP, Visual LISP & DCL
    Replies: 12
    Last Post: 14th May 2010, 12:52 am

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts