Hello!
Is there an easy way of getting all the geometry in the scene? When I say geometry I mean NOT the “Shape” or “ShapeOrig” nodes, only the geometry itself. I know the geometry can be referred to as a “mesh” or a “transform” and I dont think I want either. I want the pieces of geometry that I see in the viewport, that has vertices, edges, faces and probably a skinCluster, and I can apply a texture to, NOT the stupid “shape” or “shapeOrig” nodes.
If I use: ls(EVERY POSSIBLE COMBINATION OF FLAGS HERE)
I always get the shape and shapeOrig nodes.
I dont want to dirty up the script with: if ‘shapeOrig’ in str(Piece_of_geo):
Is there an easy way of gathering all geometry (meshes) in the scene? I even have a group node with all the geometry in it.
All i want to do is loop through them and makes sure they have materials and textures assigned to them, and bail out if they dont.