DynamoRevit
DynamoRevit copied to clipboard
ToDSType() method fails to convert IndependentTag created from linked element
If this issue is with Dynamo for Revit, please post your issue on the Dynamo for Revit Issues page.
If this issue is not a bug report or improvement request, please check the Dynamo forum, and start a thread there to discuss your issue.
Dynamo version
2.12
Operating system
Windows 11
What did you do?
Trying to use ToDSType() method to convert Autodesk.Revit.DB.IndepentTag to Revit.Element.Tag
What did you expect to see?
IndepentTag converted
What did you see instead?
An exception thrown as shown in image below
I figured it out that this Exception was thrown because my IndependentTag was created from a linked Element.
In this specific case the property TagText, that you guys trying to get, throws an Exception as showed in RevitAPIDocs.
I don't know if that was fixed in newer Dynamo versions, but if don't, I will appreciate if you guys fix that.
Thank you very much.
FYI @Mikhinja
tracked internally DYN-6181