catchyid Posted June 23, 2021 Share Posted June 23, 2021 Hi, Is it possible in hython to load content of xyz.bgo.sc into houdini without using 'file' node? I need to load many geometry files to process them, I know i can use SOP for-loop with 'file' node and merge result, but I am wondering if it's possible to do that completely in hython? Thx Quote Link to comment Share on other sites More sharing options...
catchyid Posted June 23, 2021 Author Share Posted June 23, 2021 I think i found the solution on another question: node = hou.pwd() geo = node.geometry() geo1 = hou.Geometry() geo1.loadFromFile('$HIP/geo/geo1.obj') geo2 = hou.Geometry() geo2.loadFromFile('$HIP/geo/geo2.obj') geo.merge(geo1) geo.merge(geo2) Quote Link to comment Share on other sites More sharing options...
Alain2131 Posted June 24, 2021 Share Posted June 24, 2021 I suggest looking into TOPs (aka PDG) for this. It can most likely answer your needs. Super convenient to work on multiple assets at the same time and execute the same procedure onto them all. Each file will be a work item, onto which you can do basically any process you want (HDA, geometry network, etc etc). 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.