Its a really robust and flexible mechanism which makes perfect sense in a 
nodal application...
Array attribute ( vertical one like ouput[0], output[n] ) can potentially 
be sparse : it means no contiguous so inputGeometry[12], inputGeometry[13], 
inputGeometry[26] are perfectly valid
let say you have an iterator in your deformer what you are interested in is 
process element and not attached to physical index you need to extract to 
access these data.

How much experience do you have with maya ?


Le mercredi 26 octobre 2016 04:42:44 UTC-4, Dylan Smith a écrit :
>
> Hey Everyone,
> I was hoping someone could clear up something for me. When would we want 
> to use Logical indexes instead of Physical ones.
> I've been reading through some documentation and the MPlug Class Reference 
> explains what they are, but not when we should use one or the other.
> From my understanding of the Maya API, I can't think of a reason to ever 
> use Logical indexes . To me it just seems like an unnecessary source of 
> potential confusion and bugs. 
> If I'm using physical indexes then I know that the second plug will always 
> be index 1. But with logical indexes it could be anything. The physical 
> option seems like the more appealing,
> but if both options are in there then I assume there's a good reason for 
> it. What am I missing here? I've tried searching the documentation for an 
> answer but am yet to find anything.
>
> Thanks in advance for any help :)
> Dylan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/27b3a353-3f66-4195-8975-0554c8c95d3a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to