Close

Experimental:Attribute Convert POP

Summary

The Attribute Convert POP lets you copy a POP attribute from one "attribute class" to another. That is, attributes can be on a point, a vertex, or a primitive. You can, for example convert a primitive attribute to the points of that primitive. In some cases it is ambiguous, like when a point is shared between multiple primitives or multiple vertices, so the POP picks one value and doesn't complain.

When it converts, it can delete the original attribute, and it can error or warning if the attribute it creates already exists.

See the POP to DAT to find all the attributes of a POP.

See Attribute POP to copy or rename an attribute within one attribute class.

Note: There currently are no attributes on the POP as a whole.

PythonIcon.pngattributeconvertPOP_Class


Parameters - Attribute Convert Page

Convert Operation convertop - -
  • None none -
  • Point to Vertex pointtovert -
  • Vertex to Point verttopoint -
  • Point to Primitive pointtoprim -
  • Primitive to Point primtopoint -
  • Vertex to Primitive verttoprim -
  • Primitive to Vertex primtovert -

Attribute Name attrname - -
  • * * -

New Attribute Name newattrname -

Delete Original deleteorig -

Notification if Attribute Exists notificationifexists - -
  • Ignore ignore -
  • Warning warning -
  • Error error -

Override if Attribute Exists overrideifexists -


Parameters - Common Page

Bypass bypass -

Delete Input Attributes delinputattrs -


Operator Inputs

  • Input 0: -


Info CHOP Channels

Extra Information for the Attribute Convert POP can be accessed via an Info CHOP.

Common POP Info Channels

Common Operator Info Channels

  • total_cooks - Number of times the operator has cooked since the process started.
  • cook_time - Duration of the last cook in milliseconds.
  • cook_frame - Frame number when this operator was last cooked relative to the component timeline.
  • cook_abs_frame - Frame number when this operator was last cooked relative to the absolute time.
  • cook_start_time - Time in milliseconds at which the operator started cooking in the frame it was cooked.
  • cook_end_time - Time in milliseconds at which the operator finished cooking in the frame it was cooked.
  • cooked_this_frame - 1 if operator was cooked this frame.
  • warnings - Number of warnings in this operator if any.
  • errors - Number of errors in this operator if any.


TouchDesigner Build: