Hi Michael!
That seems to work but I get the message the default value is disabled?
What I have now:
public static List<object> ExampleCode([DefaultArgument("Autodesk.DesignScript.Geometry.Point.ByCoordinates(0, 0, 0)")]Autodesk.DesignScript.Geometry.Point Points, string Description = "")
{
List<object> ObjectToReturn = new List<object>();
//code here
ObjectToReturn.Add(Description.ToString());
return ObjectToReturn;
}
[edit] I see now there was already a topic on this:
I didn’t realize you could right click the port to enable this. Is there a way to enable this by default?