Dee Posted June 10, 2017 Share Posted June 10, 2017 (edited) Hey houdini gurus! Does anyone know if I can use python to load geometry as packed disk prims? Does anyone know if I can set the initial view type of packed prims I load normally to bounding box instead of full geo when I load them in python? Thank you for any help with this! I'm loading geometry using hou.Geometry.loadFromFile() Right now. It works but now I have 1000 dense objects from several sims to load and it would be far easier if they were packed disc prims... Edited June 10, 2017 by Dee Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted June 11, 2017 Share Posted June 11, 2017 (edited) primitive = node.geometry().createPacked('PackedDisk') primitive.setIntrinsicValue('viewportlod', 'box') primitive.setIntrinsicValue('unexpandedfilename', 'default.bgeo') Edited June 11, 2017 by jkunz07 2 1 Quote Link to comment Share on other sites More sharing options...
Dee Posted June 12, 2017 Author Share Posted June 12, 2017 Oooh! Thank you! That's exactly what I needed! Thank you very much! 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.