DynamoDS / DynamoWishlist

This is a repository for all wishlist items for Dynamo Core
https://github.com/orgs/DynamoDS/projects/3
Apache License 2.0
15 stars 3 forks source link

Wish: Ability to define multiple default data types for custom node inputs #97

Open andydandy74 opened 9 years ago

andydandy74 commented 9 years ago

I've had a couple of cases where I would have liked to specify more than one default data type in the label of a custom node's input, like so: face/plane : (Face || Plane) Would be cool if that were possible.

monikaprabhu commented 8 years ago

@andydandy74 , you can give the input as type var or var[]..[] if its an array. Which will allow you specify any type and then you need to filter your graph accordingly. If you can share more details on what you are trying to achieve by doing this , may be we can help more on this.

andydandy74 commented 8 years ago

@monikaprabhu - That's the thing: I don't want to allow just any data type. In the use case I mentioned above my custom node would expect an input of either a face or a plane. Anything alse should trigger the standard warning "One or more of the input types are not matching. Couldn't find a version of ..... that takes arguments of type (....)".