-
Hi there, We are exploring if and how we can switch over from our in house USD outliner to using the Maya native outliner.
1) Filter the outliner based on our own criteria, for example prim type and/or metadata 2) Control how prims are displayed, grey-out/strike-through/icon/text color Has there been any talks about customizing how a prim is shown in the outliner? 3) Ability to extend the outliner with extra columns with additional row information. Ideally we would have control over what (filtering) and how (grey-out/strikethrough/icon) prims are displayed in the outliner Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @jossh-h, let me try to answer your questions:
Hope this helps. Many thanks to @seando-adsk for considerable help. |
Beta Was this translation helpful? Give feedback.
Hi @jossh-h, let me try to answer your questions:
Outliner hierarchy filtering: the pull request you were looking at is the right one, and is not hard-coded: I'm hopeful we have that one covered to some extent. Have a look at the UFE Hierarchy interface child filtering capability:
https://help.autodesk.com/view/MAYAUL/2023/ENU/?guid=Maya_SDK_ufe_ref_class_ufe_1_1_hierarchy_html
This allows the concrete Hierarchy interface to implement filtering on the children it reports. We use that here in the USD implementation of the Hierarchy interface to control whether inactive prims are shown or not:
maya-usd/lib/mayaUsd/ufe/UsdHierarchyHandler.cpp
Line 62 in c8291ec