Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Python / cutPlaneCenter being ignored? EDIT: Solved
  RSS 2.0 ATOM  

cutPlaneCenter being ignored? EDIT: Solved
Rate this thread
 
52279
 
Permlink of this thread  
avatar
  • Total Posts: 4
  • Joined: 29 August 2010 11:12 AM

EDIT: Nevermind it was a simple mistake. I can’t use cd and pc together because they conflict, so using pc alone worked.

I just started messing around with PyMel in Maya 2011 today so I’m sure I’m doing something wrong but I can’t figure it out.

In the code below the polyCut is applied to the center of the object and not at the origin like I want. It seems the cutPlaneCenter (pc) flag/argument is being ignored.

import pymel.core as pm
pm.polyCut( cd="X", pc=(0, 0, 0) )



Replies: 0