I mean reliable for this context,
also, possibly you don't want to include Shading Networks in this
case, since you're interested only in input connections.

On Tue, Jul 13, 2010 at 6:14 PM, John Creson <[email protected]> wrote:
> I'm not sure this is reliable, but you can Preview contents when you
> go to create an Asset with Transform, and choose to include all
> inputs, Including Shading Networks.
> When you Apply this preview, you'll see selected all the nodes that
> would end up in the asset had it been made.  (open Hypergraph
> connections)
>
> Default nodes will not go into assets either.
>
> On Tue, Jul 13, 2010 at 3:07 PM, Paul Molodowitch <[email protected]> wrote:
>> Pretty much what the title says... I was wondering if there was a way anyone
>> knew of to find out which nodes will be duplicated when you
>> use duplicate(upstreamNodes=1).  It's fairly easy to get a list of the NEW
>> nodes, by getting a list of all nodes before and comparing with a list of
>> all nodes after; but I can't find a good way to get a list of which nodes
>> will be duplicated.
>> I can try to traverse the inputs myself, of course, but I'm worried about
>> special cases - for instance, the docs say it will duplicate parents of dag
>> nodes found during traversal, but it didn't seem to do that when I tested;
>> also, it seems 'undeletable' nodes, like 'persp', won't be duplicated, but
>> only have their connections duplicated.
>>
>> --
>> http://groups.google.com/group/python_inside_maya
>

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to