magneto Posted November 18, 2011 Share Posted November 18, 2011 Do the hip files actually save a copy of the desktop inside, or do they just contain a reference like Desktop:"Build", or "Animate", etc? Is there a way to override this so whenever I open an existing file, it uses my current desktop. Quote Link to comment Share on other sites More sharing options...
edward Posted November 19, 2011 Share Posted November 19, 2011 The .hip files just contain a reference to which desktop it was last saved in. I don't know of a way to change that behaviour easily offhand. Quote Link to comment Share on other sites More sharing options...
graham Posted November 19, 2011 Share Posted November 19, 2011 One option would be to add something in a 456.cmd or 456.py file to set the desktop to whatever you want every time you load a file. Quote Link to comment Share on other sites More sharing options...
magneto Posted November 19, 2011 Author Share Posted November 19, 2011 The .hip files just contain a reference to which desktop it was last saved in. I don't know of a way to change that behaviour easily offhand. Thanks Edward, what if that desktop is not found? One option would be to add something in a 456.cmd or 456.py file to set the desktop to whatever you want every time you load a file. Thanks, do you know where can I find this file? Is it in Houdini folder? Also would appreciate the python command for loading a desktop as I am quite new to Houdini API Quote Link to comment Share on other sites More sharing options...
graham Posted November 19, 2011 Share Posted November 19, 2011 About 123/456.cmd http://www.sidefx.com/docs/houdini11.1/basics/config#id309636 Python versions: http://www.sidefx.com/docs/houdini11.1/hom/independent Set a desktop using Hscript: http://www.sidefx.com/docs/houdini11.1/commands/desk Functions to deal with desktops in Python: http://www.sidefx.com/docs/houdini11.1/hom/hou/ui Quote Link to comment Share on other sites More sharing options...
magneto Posted November 19, 2011 Author Share Posted November 19, 2011 About 123/456.cmd http://www.sidefx.com/docs/houdini11.1/basics/config#id309636 Python versions: http://www.sidefx.com/docs/houdini11.1/hom/independent Set a desktop using Hscript: http://www.sidefx.com/docs/houdini11.1/commands/desk Functions to deal with desktops in Python: http://www.sidefx.com/docs/houdini11.1/hom/hou/ui Thanks graham, will read these in and out. Btw you might now this maybe. I just checked the ui links you posted and was wondering if you can move panes/windows to different monitors? I guess you might be able to maybe using some python libs. Kind of like move panes[0] to monitors[0] panes[0].maximize() etc Quote Link to comment Share on other sites More sharing options...
magneto Posted November 19, 2011 Author Share Posted November 19, 2011 Looking at the Houdini docs, I have access to everything to attach to desktop, etc. Only thing is there is no way to move the floating windows. Do I have to do this via other python libraries? I have used Maya python alot but never did win32 specific stuff with it. Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.