-
Notifications
You must be signed in to change notification settings - Fork 667
Closed
Labels
Improvementdeveloper experiencemore high-level issues that are more specific to individuals actively developing on Dynamo.more high-level issues that are more specific to individuals actively developing on Dynamo.
Description
I'd like to set default inputs for a custom NodeModel node such as in:
Currently this can be done in the main constructor via InPorts.Add(new PortModel(PortType.Input, this, new PortData("","", defaultValue))); but not in the JsonConstructor because PortModel.DefaultValue has an internal setter.
I believe this is a bug and the setter should be made public so that default values can be set correctly also when opening saved definitions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Improvementdeveloper experiencemore high-level issues that are more specific to individuals actively developing on Dynamo.more high-level issues that are more specific to individuals actively developing on Dynamo.