Jump to content

Writing Channel Data


Recommended Posts

Hi. I'm looking for a way to write a bunch of channels (CH_Channel objects) to .bclip file. CH_Channel class has save() method, but it writes data in (.chn format). 

 

I found a clchn and clcp utilities shipped with houdini. But it seems they can only convert .bclip files to .chn while i need backward conversion.

 

UPDATE: 

As often happens, i found an answer right after i post this question  :)  To save channels in bclip we need to create CL_Clip object, populate it with CL_Track objects, sample each CH_Channels and write samples to CL_Track. Then CL_Clip.save() saves data to file.  B)

Edited by Stalkerx777
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...