active_edit_context

omni.usd.commands.active_edit_context(usd_context_or_stage)

Internal. Utility to return active edit context. By default, it will return the current edit target. When it’s in auto-authoring mode, it will return the edit context of the default layer. You can refer to omni.kit.usd.layers for more details about auto-authoring.