JJ FX Posted February 17, 2018 Share Posted February 17, 2018 Hi, I need a button that would look through my OTL for file sops, and then bring them up outside of the OTL. This would be a really sweet feature to have when developing OTLs. I guess this needs to be done in python? However I never did anything in python in H yet. Any help how to start is most welcome! Quote Link to comment Share on other sites More sharing options...
f1480187 Posted February 20, 2018 Share Posted February 20, 2018 asset_node = hou.node('/obj/geo1/my_asset') file_nodes = [c for c in asset_node.allSubChildren() if c.type().name() == 'file'] hou.copyNodesTo(file_nodes, asset_node.parent()) 1 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.