Copy&Paste
Python Scripting, photos and quotes.
Tuesday, November 2, 2010
Loop in all objects
import pymel.core as pm
allObjects = pm.ls( geometry=True, lights=True, cameras=True )
for obj in allObjects:
print obj +" is a "+ pm.objectType( obj )
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment