Hello,
After the Dynamo update in Civil3D, some libraries lost several nodes. The most popular one is Civil3DToolkit. I used some of its nodes a lot, especially “GetParameters”. Since this node no longer exists, I’m trying to rebuild some routines I had using newer versions.
The routine I’m working on now is for extracting “Alignment Station Offset Labels”. We use this label in all BIM files in my company and export the data to Excel spreadsheets.
With the new Dynamo update, many new nodes were added that make the process easier, like Label.InsertionPoint, Label.Style, Label.ObjectAttachedTo, etc.
But I’m having trouble with the label text. There is a new node called “Label.TextComponents”, but either I don’t understand how it works or it doesn’t return the actual text. It only gives me the name of the item that holds the text inside the label style, but the value itself is null.
To be specific, my label contains some text, most of it as MText. I want to extract the second line of this MText. Is there a way to do this? Thanks!!