Someone know what could be write as default value for a function imput
var
?
Screenshot would also be nice to see what you are trying to do and where you are getting stuck
I try to use a Function.Aplly in a Custom Node.
It’s work if connect a function to the input but if not… the custom no give “function”. I need a default value
Try this:
To define default values in a CN use =. Declaring type and rank (if the input takes lists) is optional
Sorry but my problem is not with the arg input but with the function imput.
If I don’t give imput to the function, the custom node return “function”.
I’ve got!!
If you give a function to the FunctionName imput, the custom node apply the function to the Argument input.
If not (nothing is connected), the custom node give you the Argument imput.
great solution
also works great with Object.IsNull if like me you find double negatives like not null false confusing