Thanks for all this great info! This is definitely much more convoluted than I anticipated. I appreciate the example you gave and your description of how I'd go about getting a close approximation. I do think it might be too difficult, especially because of Cinema's procedural objects.
I was more so hoping that the "Object Information" menu was a callable function that I could simply ask to query the memory value for, then loop through every object and save to a log. I come from a background of Python for Maya so in my head I was thinking it'd be something like: object_size = maya.pymel.objectInfo ( object_name, query=True, size=True) but of course each software has it's own nature.
object_size = maya.pymel.objectInfo ( object_name, query=True, size=True)
My next thought (though probably entirely impossible) was to somehow execute "Object Information" for every object, somehow store the GUI dialog text as a string, close the dialog and save that information out.
I'll probably look for a different starting point. Thanks again ♪(´▽｀)
Apologies if I posted a bit haphazardly. Thanks for reorganizing where the post should be!
I'm at day 3 of using Python in Cinema so I just need to get used to it all. I'll look into GetPointCount and GetPolygonCount.
Essentially my friend wanted a tool that would organize what objects took the most memory and organized them from biggest to smallest in a log. I looked into VariableTag.GetDataCount and VariableTag.GetDataSize from what you described in the other post and those seem to be useful as well (I think).
Oh ok interesing. Thanks for the link! That explanation they gave is shotty but I can try figuring it out. At least I know there isn't a direct method to call on.
I'm really new to using Cinema and Python together.
In the object manager, you can get an object's information, such as how many points, polygons and memory it uses.
I see there is a CallCommand to bring up the specific window with this information but I'd like it to be stored for later use.
Looking though the documentation I see it is possible to query an object's points and polygons but I can't find how to do this for an object's memory.
Would anyone know what that might be or what buzzwords would help me find that? I've tried "allocation", "memory", "object information" and things of the like. Thank you for any help!