Dear All
sorry for such a trival question . I am trying to create a simple script for a rectangle with theses parameters in ghpython
Plane: 0,0,0
X Size: 2
Y Size: 2
Radius: 1
the python script i used was :
- import ghpythonlib.components as gh
- rectangle= gh.Rectangle(gh.ConstructPoint(0,0,0),2,2,1)
however there was an error saying "Tuple is not Callable "
I use the same syntax for a circle at 0,0,0 and radius of 2 and it worked:
- import ghpythonlib.components as gh
- circle=gh.Circle (gh.ConstructPoint (0,0,0),2)
The script is attached and most grafteful for any help at all from the experts out there!
Thanks!
Yutakatuple not callable.gh (9.1 KB)