Is it possible to import a specific scene from a button

   Views 1043   Replies 2   Subscribers 1
User Avatar
Member
71 posts
Joined: 10月 2015
Offline
Hi hoodniks,

I was wondering if it was possible to import a specific houdini scene with a shelf button.

I've been trying to figure out how to do it in python but my skills are lacking.
Any help would be greatly appreciated.

Cheers

Andrew
Senior Groom TD @ Industrial Light & Magic - abvfx [abvfx.me]
User Avatar
Member
8052 posts
Joined: 9月 2011
Offline
Yes, I think the python is just
hou.hipFile.load("file.hip")
User Avatar
Member
71 posts
Joined: 10月 2015
Offline
Perfect!!

Only change I made was using the merge() method instead of load().
Senior Groom TD @ Industrial Light & Magic - abvfx [abvfx.me]
  • Quick Links