Introduction to Maya - Modeling Fundamentals Vol 2
This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with complex objects.
# 1 29-01-2020 , 05:09 PM
Registered User
Join Date: Jan 2020
Posts: 1

Selecting contents of multiple subfolders in outliner

Hi,
I want to select the contents of multiple folders in maya without actually selecting the folders themselves. That is to say, if I have group1 with mesh1 and mesh2 inside and group2 with mesh3 and mesh4 inside, I only want to select mesh1-4 without selecting group 1 and 2. I couldn't find a way to do it and I don't know how to code, so any help would be appreciated. I guess it's also quite a simple code, so if someone is feeling extra kind today, maybe they can save me hours of manual clicking. Thanks in advance.

# 2 03-09-2020 , 10:15 AM
Registered User
Join Date: Sep 2020
Posts: 5
import maya.cmds as mc

allTransforms = mc.ls(tr=1)
polyMeshes = mc.filterExpand(allTransforms, sm=12)
mc.select(polyMeshes)

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads