DynamoRevit icon indicating copy to clipboard operation
DynamoRevit copied to clipboard

ToDSType() method fails to convert IndependentTag created from linked element

Open ricardyn opened this issue 1 year ago • 2 comments

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 image

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. image

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.

ricardyn avatar Jul 22 '23 20:07 ricardyn

FYI @Mikhinja

Amoursol avatar Aug 14 '23 15:08 Amoursol

tracked internally DYN-6181

avidit avatar Aug 25 '23 20:08 avidit