Is there a way to use Dynamo to enter a Field into an AutoCAD table cell? I tried copy and pasting the string generated when making the field but no dice.
I’m aware of the ability to access the data - but how would I go about entering a field into a cell with these tools?
I’ve tried using SetValueByRowColumn but cannot set the value as an AutoCAD field, only ordinary text.
Ah I see… In that case I cant think of any node so you will need to use python. There are some methods on the table class to interact with fields and you have the [field class]
Wonder, @david_licona … how do I actually do to add these metods for classes in a script. Or maybe, even better, do you know a way for me to learn more about it?
Regards,
Patrick
ah ! unfortunately there aren’t many ressources out there… I’m waiting for @mzjensen AU’s class submission to get hopefully accepted this year
some forum threads on the subject :
Frankly, my recommendation is learn the basics of python and object oriented programming, then see the wealth of examples in this forum to see how to interact with the APIs. Paolo’s example cited in those links is particularly good ! At the beginning its overwhelming just to even navigate the API Reference Guide, but practice gets you there. Start simple and work yourself up.
Finally, if by any chance you know spanish : https://www.autodesk.com/autodesk-university/es/class/El-poder-de-la-automatizacion-Python-en-Dynamo-para-Revit-y-Civil-3D-2021
Thanks for the links, David.
Hi mzjensen, is this available in 2011 C3D?
Yes, they should work in 2021. Make sure you have the latest C3D updates installed.
Hi, any idea why i’m getting this? My C3D version is shown below as well.
Thanks again for your help.
Regards,
Joel
You need to install the latest updates for Civil 3D 2021.