Dynamo "Get Family Parameter" returns a string instead of a parameter

Dynamo "Get Family Parameter" returns a string instead of a parameter

jordenXTK9V
Explorer Explorer
823 Views
2 Replies
Message 1 of 3

Dynamo "Get Family Parameter" returns a string instead of a parameter

jordenXTK9V
Explorer
Explorer

Hello, I am trying to read a family parameter from a Dynamo script.

 

The "Get Family Parameter" block seems to be the right choice to select the family parameter I am interested in reading.

However, when I pass that parameter into other blocks to read its name and value, they throw a warning saying that the type they received was a String. This is unexpected because the Get Family Parameter block is supposed to output a Parameter, not a String.

jordenXTK9V_0-1700782608092.png

jordenXTK9V_1-1700782749204.png

 

Can anyone explain the correct way to use Get Family Parameter? Or is there a better way to read the value of a Family Parameter?

0 Likes
824 Views
2 Replies
Replies (2)
Message 2 of 3

jeremy_tammik
Alumni
Alumni

In this forum, we discuss the pure .NET Revit API. Your issue sounds Dynamo-specific, so it might be better to raise it in the Dynamo forum:

  

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
Message 3 of 3

jonathanJC32L
Explorer
Explorer

Thanks, I had browsed Autodesk's communities and didn't see a dynamo community, so thanks for pointing me in the right direction.

0 Likes