Pilou Posted January 25, 2021 Share Posted January 25, 2021 (edited) Hey guys, I hope everyone is doing well ! I'm trying to use the houdini alembic API. I want to extract point positions directly with API and store them in detail attribute. I juste need the positions for mathematical opreations and as I'll have to deal with dozens (possibly hundreds) of shapes with millions of points, I want to avoid drawing anything I don't need in the viewport that would end in slowing down the viewport drastically. I'm trying to use this code but I can't find the right name for positions. If someone as an idea, it would be greatly appreciated ! Thanks ! import _alembic_hom_extensions as abc filePath = '/path/to/alembic.abc' objectPath = '/hierarchy/to/myMeshShape' positions = abc.alembicArbGeometry(filePath, objectPath, 'P', 0) # result : ([], False, 'unknown') Edited January 25, 2021 by Pilou cleaner tags 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.