Does anyone know a way to capture the drag distance of a Civil 3D label object?
If that was a property, then we would be able to make our Leaders display or not display based on the distance from the object. If I only drag a label a half-inch I might not want a leader, but if I go further I would like the leader to appear.
It would be easy enough to do this with expressions if you could make that property available in the expressions dialog.
Thanks in advance for any ideas,
Solved! Go to Solution.
Tim, C3D2013's .NET API provides the necessary Label object properties to do this programmatically. Can't think of any other way, other than manual visaul inspection, right now.
That's what I figured. Thanks, Jeff.
Actually, I found that working with cogopoints is a bit different than most labels. Here's a quick video of the what can be done though:
For this I used the Point.Location and Point.LabelLocation properties to determine whether to use the leader or omit it.
That's a custom routine, right? You're not accessing Point Labellocation other than through .Net?
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.