Jump to content

Python read primitive attribute


LaidlawFX

Recommended Posts

Hello,

I feel like I should know this but Houdini keeps erroring on me so I am doing something wrong.

I want to read the primitive attribute Cd, multiple the values by say 6, and then add it to a new attribute called color.

For the example scene, drop a box, a color sop and set it to primitive and bounding color, followed with a python sop.

I am not looking for this in VEX, via nodes, or any other language. It has to be in python for this case.

Thanks for the help,

-Ben

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...