Joey Kowalewicz Posted October 10, 2019 Share Posted October 10, 2019 I am making a cross user copy/paste function using node.asCode(). My script works as is except that it will not retain paint node user information. Has anyone come across this issue or have an idea how to get around it? Thanks! Quote Link to comment Share on other sites More sharing options...
anim Posted October 10, 2019 Share Posted October 10, 2019 as code doesn't save geometry delta of the nodes with internal cache much more robust workflow would be using hou.Node.saveItemsToFile() or hou.Node.saveChildrenToFile() and hou.Node.loadItemsFromFile() or hou.Node.loadChildrenFromFile() which will store them as cpio files the same way as houdini's copy/paste system works 1 Quote Link to comment Share on other sites More sharing options...
Joey Kowalewicz Posted October 10, 2019 Author Share Posted October 10, 2019 48 minutes ago, anim said: as code doesn't save geometry delta of the nodes with internal cache much more robust workflow would be using hou.Node.saveItemsToFile() or hou.Node.saveChildrenToFile() and hou.Node.loadItemsFromFile() or hou.Node.loadChildrenFromFile() which will store them as cpio files the same way as houdini's copy/paste system works This is great! Thanks for the advice. Quote Link to comment Share on other sites More sharing options...
vinyvince Posted January 3, 2020 Share Posted January 3, 2020 On 10/10/2019 at 9:11 PM, anim said: as code doesn't save geometry delta of the nodes with internal cache much more robust workflow would be using hou.Node.saveItemsToFile() or hou.Node.saveChildrenToFile() and hou.Node.loadItemsFromFile() or hou.Node.loadChildrenFromFile() which will store them as cpio files the same way as houdini's copy/paste system works Tomas, you deserve a couple of medal for your overall contribution on this forum Happy new year mate and cheers 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.