syntetik blok
blog about games, rigging, scripting, visual effects and 3d animation
Pages
Home
RIG-IT
Sunday, 13 June 2010
pymel is the way...
how many lines would this be in MEL or standard Maya python... :)
import pymel.core as pm
cube = pm.PyNode( 'pCube1' )
for i, v in enumerate( cube.vtx ): print i, v, v.getPosition()
This short script will print positions of all polyCube`s vertices.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment