Default value disabled in custom node

Hello,
Can anyone explain me why sometimes when I set a default values for some input in a custom node, it stays “disabled”?
I cannot find anything about it.

Thank you!

right click the port and enable it.

Thank you

I already have this custom node being used in some graphs. I had to modify it and add one input. I put this default value so I would not have to open each graph and change the CN’s inputs. Is there a way to set this default as enabled for all that are already being used in graphs?

I ran into this problem as well when updating existing nodes with a new input in that the default use is disabled. You can solve this by opening the .dyf file in a text editor and setting the value there:

I found the macthing node and set the UsingDefaultValue: true but am still receiving the disabled message. Also after restarting dynamo.



Right-click on the input and select ‘Use Default Value’, as shown below.

For the setting to take effect, remove your custom node and add it again. If the setting hasn’t been remembered, then try setting it again, editing the custom node and saving it.