Hi everyone.
I’m trying to create a custom node using Zero Touch library, and my node needs three arguments (inputs), first argument (input), it’s CoordinateSystem, and other arguments must be as int. CoordinateSystem argument(input) must be marked as CoordinateSystem.ByOrigin(0, 0, 0) for default value in my case, I implemented this as
public static CoordinateSystem GetCoordinateSystem([DefaultArgument("CoordinateSystem.ByOrigin(0, 0, 0)")] CoordinateSystem cs, int firstArgument, int secondArgument)
{
return cs;
}
But attribute [DefaultArgument(“CoordinateSystem.ByOrigin(0, 0, 0)”)] not working, in the node cs not setted as default argument.
Could anybody to help me, to understand what I doing wrong?
I will be very appreciate, for any advices and solutions.
Thanks.