ActionGraph not working in USD Presenter

as title, is it a design intension?

Can you provide more details ? Can you show an example or send a file that is not working for you please.

Hi Richard,
There is no timeline feature on the window, neigther play nor stop buttons. So I guess the actiongraph is not a design intension. But further more, I still want to try that feature, then I wrote a extension to execute the python script, omni.timeline.get_timeline_interface().play(), and it is not working either.
All the usd examples with action graph are not working, a easy way to try is this one: omniverse://localhost/NVIDIA/Samples/Examples/2023_1/Visual Scripting/Clock.usda,

after opening this file, you would get nothing played, but the following logs in your log file:

2023-09-08 00:09:15 [214,044ms] [Info] [omni.usd] omniverse://localhost/NVIDIA/Samples/Examples/2023_1/Visual%20Scripting/Clock.usda opened successfully in 0.25 seconds

2023-09-08 00:09:15 [214,044ms] [Info] [carb] Initializing plugin: omni.hydra.usdrt_delegate.plugin (interfaces: [omni::hydra::usdrt::ISceneDelegateFactory v0.1]) (impl: omni.hydra.usdrt_delegate.plugin)

2023-09-08 00:09:15 [214,047ms] [Info] [rtx.scenedb.plugin] [MBVH]: Creating scene acceleration structures for context 0, device mask: 0x1

2023-09-08 00:09:15 [214,047ms] [Info] [rtx.scenedb.plugin] [MBVH]: Creating scene acceleration structure for context 0/device 0, with motion raytracing DISABLED

2023-09-08 00:09:15 [214,050ms] [Info] [usdrt.population.plugin] FabricPopulation: 35 meshes → 35 after merging, 9 materials → 0 after de-duplication.

2023-09-08 00:09:15 [214,051ms] [Warning] [omni.fabric.plugin] Warning: creaseIndices not found

2023-09-08 00:09:15 [214,160ms] [Warning] [omni.timeline.plugin] Deprecated: direct use of ITimeline callbacks is deprecated. Use ITimeline::getTimeline (Python: omni.timeline.get_timeline_interface) instead.

2023-09-08 00:09:15 [214,164ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.OnWidgetClicked’

2023-09-08 00:09:15 [214,165ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.SetViewportMode’

2023-09-08 00:09:15 [214,165ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.SetViewportMode’

2023-09-08 00:09:15 [214,166ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.Placer’

2023-09-08 00:09:15 [214,166ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.VStack’

2023-09-08 00:09:15 [214,167ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.Button’

2023-09-08 00:09:15 [214,167ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.Button’

2023-09-08 00:09:15 [214,167ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.OnWidgetClicked’

2023-09-08 00:09:15 [214,168ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.OnPicked’

2023-09-08 00:09:15 [214,168ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.OnPicked’

2023-09-08 00:09:15 [214,171ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.OnViewportScrolled’

2023-09-08 00:09:15 [214,172ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.ReadViewportDragState’

2023-09-08 00:09:15 [214,175ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.Button’

2023-09-08 00:09:15 [214,176ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.OnWidgetClicked’

2023-09-08 00:09:15 [214,176ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.PrintText’

2023-09-08 00:09:15 [214,177ms] [Warning] [omni.graph.core.plugin] Could not find node type interface for ‘omni.graph.ui_nodes.WriteWidgetProperty’

2023-09-08 00:09:15 [214,244ms] [Error] [omni.fabric.plugin] Attribute primvars:displayColor is not authored

2023-09-08 00:09:15 [214,244ms] [Error] [omni.fabric.plugin] Attribute purpose is not authored

@terryzhv83 another user here and thow something out there - there is actually a timeline. but, i believe the USD in which you are inspecting will need to have animation driven by keyframes (which is why i cannot confirm whether it’s relevant to how ActionGraph is treated in Presenter). that said, it’s a bit hidden and you will need to hover over it for the control to even show up:

a simplified timeline and player control should appear when your mouse hovers below the main control menu as shown above. the length of the timeline should correspond to the timeline’s in and out point of the USD itself. by default, the unit of measurement will be in seconds.

Thanks for the tips. Yes the menu shown as you point out, but it is not working for the action graph. maybe it is designed for animtion with frames.

I saw something error in the log.
BTW, this is my env.
Software: USD presenter 2023.1.0 on windows11
Harware: 4080 laptop with i9

2023-09-08 00:42:29 [2,208,184ms] [Info] [rtx.multigpumanager.plugin] View 0 (/Render/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0) assigned to device 0
2023-09-08 00:42:29 [2,208,184ms] [Info] [rtx.multigpumanager.plugin] View 0 (/Render/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0) switching to 1x1 layout
2023-09-08 00:42:29 [2,208,207ms] [Info] [omni.usd] [MBVH]: enableHydraengineMasking: OFF, for indexForEngineInstance: 0
2023-09-08 00:42:29 [2,208,207ms] [Info] [omni.usd] [MBVH]: raytracingMotion/enable: OFF, for indexForEngineInstance: 0
2023-09-08 00:42:29 [2,208,209ms] [Error] [omni.kit.widget.viewport.impl.utility] Traceback (most recent call last):
File “d:/ov/pkg/view-2023.1.0/extscache/omni.kit.widget.viewport-105.0.9+4eb03665/omni/kit/widget/viewport/api.py”, line 551, in __notify_objects
fn(*args)
File “d:/ov/pkg/view-2023.1.0/extscache/omni.kit.viewport.menubar.settings-105.0.9+4eb03665/omni/kit/viewport/menubar/settings/menu_item/settings_renderer_menu_item.py”, line 398, in __on_render_settings_changed
self.__sync_model(self.__render_scale_model, viewport_api.resolution_scale)
File “d:/ov/pkg/view-2023.1.0/extscache/omni.kit.viewport.menubar.settings-105.0.9+4eb03665/omni/kit/viewport/menubar/settings/menu_item/settings_renderer_menu_item.py”, line 358, in __sync_model
if items[current_index.as_int].value != value:
AttributeError: ‘NoneType’ object has no attribute ‘as_int’

2023-09-08 00:42:29 [2,208,210ms] [Error] [omni.kit.widget.viewport.impl.utility] Traceback (most recent call last):
File “d:/ov/pkg/view-2023.1.0/extscache/omni.kit.widget.viewport-105.0.9+4eb03665/omni/kit/widget/viewport/api.py”, line 551, in __notify_objects
fn(*args)
File “d:/ov/pkg/view-2023.1.0/extscache/omni.kit.viewport.menubar.settings-105.0.9+4eb03665/omni/kit/viewport/menubar/settings/menu_item/settings_renderer_menu_item.py”, line 398, in __on_render_settings_changed
self.__sync_model(self.__render_scale_model, viewport_api.resolution_scale)
File “d:/ov/pkg/view-2023.1.0/extscache/omni.kit.viewport.menubar.settings-105.0.9+4eb03665/omni/kit/viewport/menubar/settings/menu_item/settings_renderer_menu_item.py”, line 358, in __sync_model
if items[current_index.as_int].value != value:
AttributeError: ‘NoneType’ object has no attribute ‘as_int’

2023-09-08 00:42:29 [2,208,214ms] [Error] [usdrt.population.plugin] Failed to write attribute /Render/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0.resolution to Fabric. Mismatch between bytes to be written 8 and attribute size in Fabric of 16.

2023-09-08 00:42:29 [2,208,218ms] [Info] [rtx.multigpumanager.plugin] View 0 (/Render/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0) assigned to device 0
2023-09-08 00:42:29 [2,208,218ms] [Info] [rtx.multigpumanager.plugin] View 0 (/Render/RenderProduct_omni_kit_widget_viewport_ViewportTexture_0) switching to 1x1 layout

i see. and, based on the first log you provided earlier, it does suggest that the omni graph core isn’t included as part of the Presenter by default, so no surprise UI or mouse control aren’t responding. i am sure the mods/devs will have more definitive answer, though.

I will have to check for sure, but I am pretty confident that Presenter is not set up to ready ActionGraph at this time. Keyframed animation yes. Dynamic Actiongraph, no. I will confirm.

thanks, I did some enhancement to USD presenter to make that work, as the video bellow, some of the action graph can work now.

Can you explain your steps to make your file work with actiongraph ? It would be good to understand your workflow.

Yes, I copied the required extensions (by action graph) from USD Composer, and enabled them in the kit file of USD Presenter.