DynamoDS / DynamoRevit

Dynamo Libraries for Revit
https://dynamobim.org
328 stars 184 forks source link

Parameter.Value Node throws no storage type on Element Type parameters #3031

Open tinrobot2000 opened 5 months ago

tinrobot2000 commented 5 months ago

Dynamo Version

2.18.1

Revit Version

24.1.0.66 / 2024.1.0

Operating System

Windows 10

What did you do?

Used Parameter.Value node after Element.Parameters node on a Element Type

What did you expect to see?

A list of parameter values

What did you see instead?

A list of parameter values - which was provided, just with a warning

Stacktrace/logs

Node Name: Parameter.Value Package: Revit.Elements.Parameter.Query Dynamo Version: 2.18.1.5096 Host: Dynamo Revit Messages: Parameter.get_Value operation failed. Parameter Autodesk.Revit.DB.Parameter has no storage type. State: Warning

Details

The node still works with a warning - I guess it's just handing the edge case of a parameter with no storage type

Suspected code location

image element_params_2

emru-y commented 1 month ago

Thank you for the feedback! I guess for such cases where the node is throwing an error but still working maybe the representation of the warning color can be different than the nodes which is not working at all. @Amoursol