Is it possible to import a specific scene from a button

   896   2   1
User Avatar
Member
71 posts
Joined: Oct. 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
7803 posts
Joined: Sept. 2011
Offline
Yes, I think the python is just
hou.hipFile.load("file.hip")
User Avatar
Member
71 posts
Joined: Oct. 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