Jump to content

save copy of hip using python


SpencerL

Recommended Posts

Im using hou.hipFile.save("/blah/blah/myHip.hip") in order to save my hipfile, but instead of saving the current file with the new name, I want to save a copy of the file using the new name. Essentially, I want to know the python equivelant of the hscript command

mwrite -n myHip.hip

Thanks

Edited by SpencerL
Link to comment
Share on other sites

(i'm only studying HOM, but, (thanks to Edward and other friends from this forum), as i understood, all funcs that are not yet implemented, for example, can be executed like this:

hou.hscript('mwrite -n myHip.hip')

=)

Great, that works for me!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...