IBundleFactory2#

class omni.graph.core.IBundleFactory2#

Bases: _IBundleFactory2

IBundleFactory version 2.

The version 2 allows to retrieve instances of IBundle instances from paths.

Methods

__init__(*args, **kwargs)

Overloaded function.

get_bundle_from_path(self, arg0, arg1)

Get read write IBundle interface from path.

get_const_bundle_from_path(self, arg0, arg1)

Get read only IBundle interface from path.

__init__(*args, **kwargs)#

Overloaded function.

  1. __init__(self: omni.graph.core._omni_graph_core.IBundleFactory2, arg0: omni.core._core.IObject) -> None

  2. __init__(self: omni.graph.core._omni_graph_core.IBundleFactory2) -> None

get_bundle_from_path(
self: omni.graph.core._omni_graph_core.IBundleFactory2,
arg0: omni::graph::core::Py_GraphContext,
arg1: str,
) omni.graph.core._omni_graph_core.IBundle2#

Get read write IBundle interface from path.

Parameters:
Returns:

Bundle instance.

Return type:

omni.graph.core.IBundle2

get_const_bundle_from_path(
self: omni.graph.core._omni_graph_core.IBundleFactory2,
arg0: omni::graph::core::Py_GraphContext,
arg1: str,
) omni.graph.core._omni_graph_core.IConstBundle2#

Get read only IBundle interface from path.

Args:

context (omni.graph.core.GraphContext): The context where bundles belong to. path (str): Location of the bundle.

Returns:

omni.graph.core.IConstBundle2: Bundle instance.