Jump to content

Forcing 456.py


garf

Recommended Posts

Heya peoples,

I'm going round in circles on this one and it might just be down to my poor understanding of python and/or houdini.

I've managed to get 90% of what I want for this tool complete but the final piece evades me.

I've got a python tempfile.TemporaryFile being created when 456.py is triggered - it works perfectly - i.e. created upon opening a hip and deleted once the hip is closed

I think what I want to do is trigger the 456.py from within a shelf tool (which is a custom saver script)

I mean this is essentially the age-old quest for an "onSave" callback but sadly I have no understanding of C++ or the HDK so this solution is totally lost on me.

Any pointers appreciated

Cheers

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...