Mac Houdini Default File Location

   2307   3   0
User Avatar
Member
16 posts
Joined: 3月 2020
Offline
Greetings Mac Houdini users!

I am hoping someone knows where the Houdini default file location is on a Mac.

For example on a windows machine, if I was to execute the following sequence in the Python shell:
file = open('testRoberto.py', 'w')
file.write(hou.node('/obj/testgeometry_rubbertoy1').asCode(recurse=True))
file.close()
The output file by default is found in C:\users\<user name> folder.
Since I do not have access to a Mac, could anyone who does please inform me where that folder is?

Thank you very much for your time!
User Avatar
スタッフ
530 posts
Joined: 8月 2019
Offline
It outputs the file to /Users/myuser
Edited by johnmather - 2022年8月23日 17:05:53
User Avatar
Member
16 posts
Joined: 3月 2020
Offline
Thank you John Mather!

Being unfamiliar with MAC OS, is "myuser" the actual folder name or is it the user's account name?

Thank you for your time!
User Avatar
Member
8045 posts
Joined: 9月 2011
Offline
johnmather
It outputs the file to /Users/myuser

wouldn't python's cwd depend on the directory Houdini was launched from? for example if I double click a hip file, my cwd is set to the location of the hip file. If I launch houdini from the command line, Houdini's cwd is set to the command's cwd. Is it the same on Mac OS?
  • Quick Links