gemini Posted May 17, 2020 Share Posted May 17, 2020 (edited) Hi, Can the dragging nodes to shelf be reproduced in a python script ? It creates a bit of complicated hscript code inside the tool script field. I would use that code to transfer the nodes inside clipboard between home and office machine. The other thing i thought to save the nodes to file and transfer a binary data inside clipboard. Can that be ? Helps are wellcome ! Sz Edited May 17, 2020 by gemini Quote Link to comment Share on other sites More sharing options...
anim Posted May 17, 2020 Share Posted May 17, 2020 (edited) Use hou.Node.saveItemsToFile() Edited May 17, 2020 by anim Quote Link to comment Share on other sites More sharing options...
gemini Posted May 17, 2020 Author Share Posted May 17, 2020 Thanks, it can work. But can you transform that data trough clipboard to a remote computer. Sz Quote Link to comment Share on other sites More sharing options...
anim Posted May 17, 2020 Share Posted May 17, 2020 No clipboard involved, just make your script save that file to a shared location and on remote machine make script load that file But it's the same file format as clipboard uses so you can as well replace the clipboard files in temp directory of remote machine if you have access to it, then just paste, or whatever you want your workflow to be 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.