Skip to content

Wish: List.FilterByBoolMask to accept 0/1 as True/False #2183

Open
@ColinDayOrg

Description

@ColinDayOrg

Issue by andydandy74
Wednesday Dec 17, 2014 at 16:09 GMT
Originally opened as DynamoDS/Dynamo#3436


When I pull data from Yes/No parameters using Element.GetParameterValueByName, Dynamo returns them as 1 or 0. However, List.FilterByBoolMask will only work with True/False. As a workaround, I can take this through a Formula node (x==1), but it would make sense if booleans were automatically converted between Revit and Dynamo.
0.7.5 RC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions