Hi all,
I have thousands of closed polylines that represent land parcels. Each polyline has property set fields attached to it and already filled with required info specific to that polyline.
For each polyline, I want to generate an interactive text / attribute / Label sitting inside the polyline (centroid) that is connected to property sets field of that given polyline (I know that C3D labels can be linked to property sets but this option is excluded because labels follow the perimeter of the parcel and cannot point to inside the polyline which is crucial for this project - If there’s a way to force the leader to point to the centroid of a polyline let me know)
There’s a good way of generating an interactive text using basic C3D commands with no need for dynamo automation (See below), this solution was proposed by @marshmallow (Thanks for that Samir!)
Solved: Re: Propertys set data in normal mtext and mleaders? - Autodesk Community
However, the “TagAddSelected” command (selecting the Multi-View Block followed by selecting the polyline) was designed to only select one object at a time. I cannot do this for thousands of polylines.
So, I need a way to mimic exactly what TagAddSelected command is doing with the ability to select all polylines instead of 1 single polyline at a time or to have dynamo repeating the command equal times to polylines count without me selecting anything on the screen.
Challenges:
- An interactive Text is needed (whenever the value of a property set field changes the text / Attribute must reflect the change immediately)
- TagAddSelected command works only on a single selection at a time, “an enhanced version” of this command is what needs to be developed so that it handles multiple selection at the same time.
All contributions to this feed are much appreciated.