Copy&Paste
Python Scripting, photos and quotes.
Showing posts with label
pymel
.
Show all posts
Showing posts with label
pymel
.
Show all posts
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 )
Get SceneName
import pymel.core as pm
scenename = pm.sceneName()
Older Posts
Home
Subscribe to:
Posts (Atom)