View Single Post
# 5 16-10-2014 , 01:32 AM
Gen's Avatar
Super Moderator
Join Date: Dec 2006
Location: South FL
Posts: 3,522
Yep! Using the "delete" command. This code deletes the construction history on all selected objects.

Code:
import maya.cmds as mc

selection = mc.ls(sl = 1)
for obj in selection:
	mc.delete(obj , ch = 1)
I just realized in the previous MEL I posted that I added center pivot instead of freeze transformations lol. I just don't know anymore, smh.


- Genny
__________________
::|| My CG Blog ||::
::|| My Maya FAQ ||::