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. - __init__(self: omni.graph.core._omni_graph_core.IBundleFactory2, arg0: omni.core._core.IObject) -> None 
- __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,
- Get read write IBundle interface from path. - Parameters:
- context (omni.graph.core.GraphContext) – The context where bundles belong to. 
- path (str) – Location of the bundle. 
 
- Returns:
- Bundle instance. 
- Return type:
 
 - get_const_bundle_from_path(
- self: omni.graph.core._omni_graph_core.IBundleFactory2,
- arg0: omni::graph::core::Py_GraphContext,
- arg1: str,
- 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.