Message 1 of 4
Not applicable
11-15-2018
10:47 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hey guys sorry for asking this silly question but new to python,so i wrote this particular command to select all the constraints whosoever is in the scene and then delete all constraints.so i wrote this.
import maya.cmds as mc
sel = mc.ls(sl=True,type="constraint*")
for all in sel:
mc.select(all)
mc.delete()
please help don't know what to do
Solved! Go to Solution.