- Edit the custom node
- In the input node label, after the label name type a space, followed by a colon, followed by a space
- You are now in 'default value land'. Dynamo will prompt you for a datatype.
- Choose or enter an appropriate datatype, then type a space, followed by an equals sign, followed by the default value
- Obviously, the value must match the datatype.
Tuesday, September 15, 2015
This is a pretty basic lesson, but just in case you aren't doing it already... Adding a default value to your input nodes can make your custom nodes much more useful (and possibly easier for others to use). Obviously, not every input always needs a default, but in some cases you probably know that "in 9 times out of 10 use cases, this value should be xyz". To add this default value in Dynamo: