I have a few basic questions which will help me understand some arrays in maya using python.
- How can I collect all the selected nodes into an array called 'curSel'?
- How can I then collect just the 'meshes' of that array 'curSel' into a new array called 'meshArr'
- How can I then collect the 'curves' from array 'curSel' to a new array called 'curvesArr'
In short I'm essentially trying to collect all the selected nodes into a variable. Then I create two more arrays by collecting specific nodes from that array.