SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

SM Forums / Maya Questions / Programming / maya script to delete hidden objects

Programming MEL Scripts, Expressions & Programming Related Topics

Join the conversation. Reply to post
Thread Tools
25-05-2018, 04:12 AM   #1
Registered User
Join Date: Sep 2017
Posts: 3
maya script to delete hidden objects
Hi all,
Please tell if anyone have some script to delete hidden objects at once..
  Reply with quote
03-09-2020, 02:11 PM   #2
Registered User
Join Date: Sep 2020
Posts: 5
select text to view
import maya.cmds as mc

allTransforms =
polyMeshes = mc.filterExpand(allTransforms, sm=12)
toDel = []
for i in polyMeshes:
    if mc.getAttr(i+'.visibility') != True:
  Reply with quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant open file Jimmer Maya Basics & Newbie Lounge 0 18-09-2014 03:58 AM
trouble opening maya scene jooleyinboots Maya Technical Issues 2 03-02-2014 09:11 PM
Maya 2012 objects won't cast shadows Paradart Lighting & Rendering 4 22-09-2013 12:15 AM
where can i download free maya 3d objects? duyquyen Maya Basics & Newbie Lounge 9 12-10-2012 12:38 PM
HELP PLEASE Dushyant Maya Technical Issues 12 25-08-2012 08:49 AM