Q100270: How to format global attribute lists at /root/world so downstream Merge nodes unionize the attributes

Follow

SUMMARY

This article explains the correct way of adding custom user lists to the global attributes lists at /root/world.

 

MORE INFORMATION

If you wish to add a list of global attributes to the globals attribute at /root/world, the correct way is by using an attribute path like globals.itemLists.myAttrList for the custom attribute list. This convention ensures that the lists will be correctly merged across inputs by the Merge node, and recognized in globals. 

 

The Key Locations section of the Katana Developer Guide shows:

string[] globals.itemLists.<custom> Defines a custom item list. When node graph subtrees are merged via a Merge node, the contents of item lists are unioned rather than the left-most input being used

 

Here is an example of how a user global attribute list should look:

itemLists.png

NOTE: If you do not use this format, the attribute lists may not be merged correctly and you will only keep one input downstream of the Merge node.

We're sorry to hear that

Please tell us why