Community
Civil 3D Customization
Welcome to Autodesk’s AutoCAD Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D Customization topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Access the leader of a dragged label

2 REPLIES 2
Reply
Message 1 of 3
martin.miller
249 Views, 2 Replies

Access the leader of a dragged label

I'm looking to modify the leader of a dragged Civil 3d 2014 label. I can create the label with C# dragged to the proper location. I'm trying to simplify the rearranging of overlapping labels. To accomplish this I want to add a point to the middle of the leader, so if I need to drag the label further, the leader only strecthes the second segement. I have not found any method or property that exposes the leader, but I'm still new to C# so I could be missing something obvious. In the image below the label at station 4+00.00 is what I have created, 3+85.14 is what I want to make and 3+75.28 is why.

Thanks in advance.
 
Martin

2 REPLIES 2
Message 2 of 3
Jeff_M
in reply to: martin.miller

I'm not seeing anything that gives access to the leader structure.
Jeff_M, also a frequent Swamper
EESignature
Message 3 of 3

There is a post in this forum years ago that has some sample code to get what you want. All of the leaders have grips associated with them and we can get the grips and then move the location of the grip to the location you want. The hard part is figuring out what grip you want to move based on the location in the array of grips. I'm sure you can also find information on interacting with grips doing a Google search. 

Civil Reminders
http://blog.civil3dreminders.com/
http://www.CivilReminders.com/
Alumni

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


 

Autodesk Design & Make Report