I’m working with an external library (C#) that doesn’t have the static methods required for object creation and I’m creating a static wrapper around the object, which is fairly simple. However, I’m wondering what’s the best practice for handling objects with multiple constructors? Do you need to create a separate static method for each constructor or is there a way to keep it as one node?
From top of my head and seeing how they handled these kind of things in Dynamo I will say that you will need a new node for each constructor. For example have a look at Point.ByCoordinates node which instead of having a single node with multiple constructors it has multiple nodes. It goes with the logic of visual programming where you would grab a new node for a different method.