I get a
syntax error, invalid syntax!
But how would you use centroid() on the Pivot parameters of a Transform SOP inside a For Each block?
If I try
centroid(opinputpath("."),0)
Unable to Evaluate expression. Name ‘centroid’ is not defined
http://www.sidefx.com/docs/houdini/expressions/centroid [www.sidefx.com]