ObjectARX

Reply
Valued Contributor
kennethmjones
Posts: 69
Registered: ‎02-24-2011
Message 1 of 3 (141 Views)

Please help me with right handed MutliLeaders

141 Views, 2 Replies
11-25-2012 02:37 PM

Hello,

I have written a function that creates AcDbMLeader and it produces perfect leaders. I just can' make the leader lines start on the right hand side of the mtext.

I have used the set functions in different combinations but nothing seems to work.

 

Does anyone have any ideas as to why this might be? 

 

Many thanks

ADN Support Specialist
Balaji_Ram
Posts: 736
Registered: ‎03-21-2011
Message 2 of 3 (121 Views)

Re: Please help me with right handed MutliLeaders

12-03-2012 07:18 AM in reply to: kennethmjones

Hello Kenneth,

 

Have you tried using the "AcDbMLeader::setDoglegDirection" ?

This method turns the short line based on the direction vector provided to it.

 

If this does not help, can you please post a simple example to demonstrate the problem ?



Balaji
Developer Technical Services
Autodesk Developer Network

Valued Contributor
kennethmjones
Posts: 69
Registered: ‎02-24-2011
Message 3 of 3 (114 Views)

Re: Please help me with right handed MutliLeaders

12-03-2012 03:19 PM in reply to: Balaji_Ram

Hi Balaji,

 

Thank you for the suggestion I will try that out and let you know if it fixes my problem.

I will attach my code if still I can't get it to work.

 

Thanks again,

Ken

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!