automate feature text in multileader callout, dynamo?

cad3JDVA
Explorer
Explorer

automate feature text in multileader callout, dynamo?

cad3JDVA
Explorer
Explorer

I would like to know if there is a way to auto generate a multileader that can show text attributes already stored in a feature.  Is there a dynamo script that could do this?  My project needs these callouts for thousands of linear features.leader callouts.JPG

0 Likes
Reply
463 Views
4 Replies
Replies (4)

stevenh0616
Collaborator
Collaborator

Hi @cad3JDVA 

 

This post should really be on the customization forum as it deals with APIs, but I'm not able to move it.

 

Dynamo does have some nodes to create Multileaders under the AutoCAD nodes, so that part is possible. Regarding properties of a given feature, that would depend on what you're after from the feature. Out of the box we have support for Surfaces, alignments, profiles and a few others. There are extensions to obtain additionally Civil 3D object types.

 

Now, with that said, next would be to look at what properties you are looking to extract about a given object. You'd have to look through the available nodes to find what you need. There are always additional ways to obtain that info in Dynamo using Python code in a code block as well, but again there could be further API limitations to extract what's needed.

 

Ultimately, once you extract what it is your after, then you'd fill out the contents of your multileader with that data.

 

So to really answer this, we need more information about what you're after.

Steve Hill, Civil Designer / .NET Developer / AutoCAD and AutoCAD Civil 3D Certified Professional
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn | YouTube

0 Likes

brian.strandberg
Advisor
Advisor

This would be easy if you could label a feature line's description.  Unfortunately description isn't exposed in the label style.  If I was going to do a dynamo script, I would probably do it based on feature lines as it is really easy to modify the description. 

 

I believe the only object that has a label property for description is pipes / structures.

 

I will take a look at how difficult this would be in dynamo but I doubt if I can do it this week - very busy.

 

Thanks.

 

Check out my Civil 3d blog at: http://c3dk.com/
Favorite Posts: Use Dynamo For Surface Analysis: https://youtu.be/eJNdX6guMP8
Fast Track your site grading with the new Corridor Workflow: https://youtu.be/Gg7u9-LgIL0
0 Likes

cad3JDVA
Explorer
Explorer

Hello,  Thanks Steve, Brian for looking into this and providing some initial feedback.  I kinda understand what you're saying but am still growing in my CAD abilities so I wanted to make sure I'm explaining the objective correctly with this visual.  I know using the "field" from the autocad data you can assign a properties attribute to basically anywhere you have text and it can extract that.  This is more challenging because I'm seeing the arcmap features do not allow for that tool to grab the same attributes of an object.  The initial challenge of autogenerating a callout remains but perhaps theres a tool or something you know of that I do not.  

Leader Callouts 2.JPG

0 Likes

stevenh0616
Collaborator
Collaborator

Thanks for the additional details.

 

Ok so you're bringing in GIS data and trying to label that with a multileader. Unfortunately, I don't believe there's anyway to do that with Map 3D. It is possible to do it as MTEXT though, so perhaps there's a workflow that you can generate via MTEXT and convert the MTEXT to multileaders... Here's a video I found for how to generate the MTEXT content from the Map 3D GIS Data

https://youtu.be/ov7xwmv0c8s?si=lYmv-jZ5KUUzZadu

 

As far as automating this, I have yet to see any extensions for Dynamo to extend functionality into Map 3D, but essentially you would need some Dynamo nodes that connect to the Map3D data side and allow you to make that connection to access the Map data.

 

I will say however, this is possible via .NET. Sometime ago, I developed a way to automate the workflow mentioned in this video for specific data, so it is possible. That could be implemented into a Multileader with some custom development - but it would all be done through .NET as a plugin tool.

 

Steve Hill, Civil Designer / .NET Developer / AutoCAD and AutoCAD Civil 3D Certified Professional
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn | YouTube

0 Likes