I have written wall flip code in Dynamo Python, It gives me a True or False result. But when I use this same code in the Custom node it gives me only a “null” value.
Find the attachment
Try specifying the input structure as follows:
inputName: var…
This instructs the node to take the input as given, otherwise custom nodes tend to take lists as objects, or assume how we want to work through our data. The above syntax tells the node the structure is arbitrary/unimportant.
This tricked me when I first made custom nodes also.
Good article on it here:
@Manpreet As @GavinCrump mentioned it is important how u passing your input, resolving it will resolve the issue and the article above will guide u properly. In case still not able to achieve it please do post a snip of your custom node workspace and I’m sure the experts here in community will definitely be more than happy to help.
Regards,
BM
Thankyou @GavinCrump
It’s Resolved
Thank your guidance and support @bharat.minocha