I have some nodes with some mildly complex output attribute structures, and 
i need to digest that attribute data in downstream nodes.

I'm wandering if its DG-heresy if instead of recreating those attr 
structures on the downstream and doing all the wiring across, if i could 
instead create a single simple attribute that caries no data itself and is 
just dirtied and cleaned and gated for in the compute in exactly the same 
manner as the other output attributes (call it 'dirtyPropAttr'). In the 
consuming node it would pull on its 'in_dirtyPropAttr', and then it would 
chase down that connection to the input node and get busy collecting the 
required data from it which would have just been computed.

It might also simply be the case that i need to do this for array compounds 
as even if the attrib structures are identical across the nodes, you cant 
wire the parent attr and have the children data come too... you need to 
connect all multis independently, sure, fine, but what if the number of 
multis are dynamically changing (i dont want to do nasty things like 
watching plugs within a node then queuing up DG mods to do the wiring 
after).

The nodes under question for potentially doing this treatment to are built 
to work only in concert with each other, they arent evaluated very often, 
and their work is relatively light.

Not entirely sure how to approach it without being violate (maybe the above 
suggestion is sound enough?). Otherwise probably need to get around it by 
using more nodes, or flattening out the attr structures (just so data can 
be piped, and in doing that makes it less readable, and needs to be 
reconstructed on the other end, sigh).

I wish there were fatter Maya attribute pipes.

Thanks!

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/4911fee6-9cb3-484e-a430-242abb6c74b2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to