Scene start up file default on MAC

   709   1   1
User Avatar
Member
29 posts
Joined: 1月 2020
Offline
I have been looking to have my Houdini scene start up with my "template" scene. I was able to do this with my PC however I cant find for the life of me how to do this on a MAC. I can't find what folder I am supposed to paste my 123.py file in?
User Avatar
Member
8 posts
Joined: 5月 2020
Offline
As this bugged me as well, here a solution that might help other frustrated mac users.

1 - create a 'scripts' folder inside your preferences folder.
/Users/username/Library/Preferences/houdini/19.5/scripts/

2 - copy the attached 123.py file in the 'scripts' folder

3 - copy your default scene hip file in the preferences folder, mine looks like this:
/Users/username/Library/Preferences/houdini/19.5/default_scene.hiplc


This is the content of 123.py:

houdini_preference_directory = hou.getenv('HOUDINI_USER_PREF_DIR') 
[code python]hou.hipFile.merge( houdini_preference_directory + "/default_scene.hiplc")[/code]

Attachments:
123.py (142 バイト)

  • Quick Links