Points Class
The Points class describes the set of point objects owned by one SOP.
Members
owner
→ OP
(Read Only):
The OP to which this object belongs.
Methods
No operator specific methods.
Special Functions
len(Points)
→ int
:
Returns the total number of points.
a = len(op('box1').points)
[index]
→ td.Point
:
Get a specific point given an integer index.
n = op('box1').points[0]
Iterator
→ td.Point
:
Iterate over each point.
for m in op('box1').points: # do something with m, which is a Point
TouchDesigner Build: