Filter array - Python?

Filter array - Python?

JokerMartini23
Enthusiast Enthusiast
477 Views
0 Replies
Message 1 of 1

Filter array - Python?

JokerMartini23
Enthusiast
Enthusiast

I have a few basic quesitons which will help me understand some arrays in maya using python.

 

1. How can I collect the selected nodes into an array called 'curSel'?

2. How can I then collect just the 'meshes' of that array 'curSel' into a new array called 'meshArr'

3. How can I collect the 'curves' from array 'curSel' to a new array called 'curvesArr'

 

Hope you guys can help.

Thank you.

 

0 Likes
478 Views
0 Replies
Replies (0)