Stalkerx777 Posted October 4, 2014 Share Posted October 4, 2014 (edited) 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. Edited October 4, 2014 by Stalkerx777 Quote Link to comment Share on other sites More sharing options...
edward Posted October 5, 2014 Share Posted October 5, 2014 I thought clchn allow one to convert .chn to .clip Quote Link to comment Share on other sites More sharing options...
Stalkerx777 Posted October 5, 2014 Author Share Posted October 5, 2014 I thought clchn allow one to convert .chn to .clip Nope. I get: "Cant open file /tmp/foo.chn". While in reverse order it converts fine. Anyway, CL_Clip is what i actually needed. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.