What parts are giving you trouble specifically though? That video is really long as does a lot of stuff
Here are some examples: # number of poly faces in scene? faceCount = cmds.polyEvaluate(cmds.ls(g=True), face=True) # path and file size of current scene? import os name = cmds.file(q=True, sceneName=True) sizeBytes = os.path.getsize(name) On Thu, Jun 7, 2012 at 1:07 PM, Matias Volonte <[email protected]>wrote: > Justin thanks for answering. I will definitely check what your suggestion. > > Also, I found a youtube video that shows a similiar concept to what I > need. I would like to have a tool that access files and retrieves data > (size, face amount, file path, etc) and image of the scene. I already have > built the core of the tool, but for some reason is hard to achieve the > scene data of the maya.mb's file. > > Pseudo example: > http://www.youtube.com/watch?v=B2fE0sVeT44 > > Thanks and any tip will help. > > -- > view archives: http://groups.google.com/group/python_inside_maya > change your subscription settings: > http://groups.google.com/group/python_inside_maya/subscribe > -- view archives: http://groups.google.com/group/python_inside_maya change your subscription settings: http://groups.google.com/group/python_inside_maya/subscribe
