hou equivalent of opwrite and opread?

   1285   0   0
User Avatar
Member
61 posts
Joined: Feb. 2006
Offline
Hi,

I'm porting one of my old scripts to python where I'm using hscript opread/write commands alot to generate a series of Chan files that match scene elements by name. I can of course reference the hscript commands inside hom but just wondering if there is a more python method for the same thing that already exists (like an opread/write or instead of setting filenames in a channel rop). Had a look at Chopnode() but didn't seem to offer it and asCode() doesnt suit my workflow. I was hoping for a neat function I can put inside my loops to just reference some channels (like the channel rop does) and say “put these to a Chan file”.

Cheers
  • Quick Links