Jump to content

Create chop channel from python data


N Senada

Recommended Posts

I've asked this on the sidefx forum but it went unanswered, so I thought I'd give it a try here.

In my noob imagination it should be really easy.

The title says it all really, I would like to create (or "write", "set", "import" into) a chop channel from python data (list, numpy array, dictionary or similar).

I just can't find any way to do this.

:wacko:

 

Link to comment
Share on other sites

On 8/12/2025 at 8:16 AM, N Senada said:

I've asked this on the sidefx forum but it went unanswered, so I thought I'd give it a try here.

In my noob imagination it should be really easy.

The title says it all really, I would like to create (or "write", "set", "import" into) a chop channel from python data (list, numpy array, dictionary or similar).

I just can't find any way to do this.

:wacko:

 

Hi,

you can save your data as ascii text file with extensions .clip or .chan, then read it with  File chop node.

Also you can bake you data to parameter on a sop node as keyframes and then fetch into CHOP with Fetch Parameters chop node, or save baked keyframes as a file with saveClip method of hou.Parm class.

  • Thanks 1
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...