AutoCAD Civil 3D
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Looking for a way to capture the drag distance of a label...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hello all,
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,
Tim
Delta Engineering Systems
Redding, CA
Autodesk Authorized Value-Added Reseller
Solved! Go to Solution.
Re: Looking for a way to capture the drag distance of a label...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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.
Re: Looking for a way to capture the drag distance of a label...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
That's what I figured. Thanks, Jeff.
Tim
Delta Engineering Systems
Redding, CA
Autodesk Authorized Value-Added Reseller
Re: Looking for a way to capture the drag distance of a label...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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:
http://screencast.com/t/iPz6sngUA
For this I used the Point.Location and Point.LabelLocation properties to determine whether to use the leader or omit it.
Re: Looking for a way to capture the drag distance of a label...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
That's a custom routine, right? You're not accessing Point Labellocation other than through .Net?
Delta Engineering Systems
Redding, CA
Autodesk Authorized Value-Added Reseller
Re: Looking for a way to capture the drag distance of a label...
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Correct, Tim. Programming only.
