Can anybody explain to me why several of my custom nodes add another var… to their input field every time I restart dynamo? For example, here is one I just opened. Blank graph, just this node.
The functionality of the node does not seem to be affected, but as you can imagine, after a week of developing tools with it, they can become rather… distracting. Any ideas as to what is causing this and how I can avoid it?
As far as I know “Var” means a variety in type of input you are passing to the node.
In other words you are not specific with the input data type.
For instance your select model elements input field here MAY get input of other data types say a number and tries to execute the node,
I believe you should just type elements in the inputs and sellect the suggestion that comes in green color.
Hope this is the problem,Not sure though.
I think you have to delete the spaces in the name of the variables : words appearing in blue isn’t normal.
Also, have you tried defining yourself the type of your variables (i.e. replacing var[]...[] by a more pertinent type) ?