I’ve made a rectangle in a python node using:
rectangle = Rectangle.ByCornerPoints(my_function ())
Which works and outputs a rectangle.
But within the same node if I try to get its width and length using:
width = Rectangle.Width (rectangle)
length = Rectangle.Length (rectangle)
The node outputs:
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 188, in
TypeError: getset_descriptor is not callable <<<
How do I get the width and length of the rectangle?