Jump to content

New File Script


Recommended Posts

Hi All

I want to know, How to Execute Hscript, when we open a new file in

Houdini.

I tried it with 456.cmd but it works only when we open an existing

hip file, and not a new file. Also, 123.cmd only works when Houdini starts.

-----------Plz Help.

-----------iamjaideep80

Link to comment
Share on other sites

Hi All

I want to know, How to Execute Hscript, when we open a new file in

Houdini.

I tried it with 456.cmd but it works only when we  open an existing

hip file, and not a new file. Also, 123.cmd only works when Houdini starts.

-----------Plz Help.

-----------iamjaideep80

25475[/snapback]

Unfortunately this is not possible and has been an outstanding RFE for quite some time too. To be able to intercept New, Load, Save and Quit operations would be awesome but I'm afraid you'll have to find another way. Right now you would have to totally ignore the File>Load and put your own together through the Operator Scripts (Ctrl+RMB on a Network Editor Pane). Yuck.

If you're very lucky and happen to have some standard custom HDA in your file, you might be able to lever the event scripts (OnCreated) in them.

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