glassman3d Posted October 2, 2014 Share Posted October 2, 2014 (edited) Hi All I'm creating an animation publishing system and I am looking for a way to export out .bclip information for two cases: 1) all channels in a given chop node 2) all channels in a parm or parm tuple There is a right click menu for both but I've been searching the hou module for both hou.ChopNode and hou.Parm for similar functions with no success. The File chop is only able to read clips Any ideas anyone? Is there some hscript function somewhere? many thanks Edited October 2, 2014 by glassman3d Quote Link to comment Share on other sites More sharing options...
glassman3d Posted October 2, 2014 Author Share Posted October 2, 2014 (edited) nevermind found it! chwrite, also opsave Edited October 2, 2014 by glassman3d Quote Link to comment Share on other sites More sharing options...
glassman3d Posted October 2, 2014 Author Share Posted October 2, 2014 (edited) I should add the syntax is a bit crazy, here's a working python example to export animation on a camera called cam1 hou.hscript( """ chwrite -f 101 300 {0}t? {0}r? {0}focal /tmp/cliptest.bchan """.format( "/obj/cam1/") ) I've used python to utilise handy string formatting the hscript equivalent is: chwrite -f 101 300 /obj/cam1/t? /obj/cam1/r? /obj/cam1/focal /tmp/cliptest.bchan Edited October 2, 2014 by glassman3d 1 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.