Points Class

From TouchDesigner 099 Wiki

The Points class describes the set of point objects owned by one SOP.


owner (Read Only) The OP to which this object belongs.


Special Functions


Returns the total number of points.
   a = len(op('box1').points)


Get a specific point given an integer index.
   n = op('box1').points[0]


Iterate over each point.
   for m in op('box1').points:
       # do something with m, which is a Point


Returns a dictionary with persistent data about the object suitable for pickling and deep copies.


Reads the dictionary to update persistent details about the object, suitable for unpickling and deep copies.