IBundleFactory#
- class omni.graph.core.IBundleFactory#
- Bases: - _IBundleFactory- Interface to create new bundles - Methods - __init__(*args, **kwargs)- Overloaded function. - create()- Creates an interface object for bundle factories - create_bundle(self, context, path)- Create bundle at given path. - create_bundles(self, context, paths)- Create bundles at given paths. - get_bundle(*args, **kwargs)- Overloaded function. - get_bundles(*args, **kwargs)- Overloaded function. - __init__(*args, **kwargs)#
- Overloaded function. - __init__(self: omni.graph.core._omni_graph_core.IBundleFactory, arg0: omni.core._core.IObject) -> None 
- __init__(self: omni.graph.core._omni_graph_core.IBundleFactory) -> None 
 
 - static create() omni::core::Api<omni::graph::core::IBundleFactory2_abi>#
- Creates an interface object for bundle factories - Returns:
- Created instance of bundle factory. 
- Return type:
 
 - create_bundle(
- self: omni.graph.core._omni_graph_core.IBundleFactory,
- context: omni::graph::core::Py_GraphContext,
- path: str,
- Create bundle at given path. - Parameters:
- context (omni.graph.core.GraphContext) – The context where bundles are created. 
- path (str) – Location for new bundle. 
 
- Returns:
- Bundle instance. 
- Return type:
 
 - create_bundles(self: omni.graph.core._omni_graph_core.IBundleFactory, context: omni::graph::core::Py_GraphContext, paths: List[str]) List[omni.graph.core._omni_graph_core.IBundle2]#
- Create bundles at given paths. - Parameters:
- context (omni.graph.core.GraphContext) – The context where bundles are created. 
- paths (list[str]) – Locations for new bundles. 
 
- Returns:
- A list of bundle instances. 
- Return type:
- list[omni.graph.core.IBundle2] 
 
 - get_bundle(*args, **kwargs)#
- Overloaded function. - get_bundle(self: omni.graph.core._omni_graph_core.IBundleFactory, context: omni::graph::core::Py_GraphContext, bundle: omni.graph.core._omni_graph_core.IBundle2) -> omni.graph.core._omni_graph_core.IBundle2 
 - DEPRECATED - no conversion is required - get_bundle(self: omni.graph.core._omni_graph_core.IBundleFactory, context: omni::graph::core::Py_GraphContext, bundle: omni.graph.core._omni_graph_core.IConstBundle2) -> omni.graph.core._omni_graph_core.IConstBundle2 
 - DEPRECATED - no conversion is required 
 - get_bundles(*args, **kwargs)#
- Overloaded function. - get_bundles(self: omni.graph.core._omni_graph_core.IBundleFactory, context: omni::graph::core::Py_GraphContext, bundles: List[omni.graph.core._omni_graph_core.IConstBundle2]) -> List[omni.graph.core._omni_graph_core.IConstBundle2] 
 - DEPRECATED - no conversion is required - get_bundles(self: omni.graph.core._omni_graph_core.IBundleFactory, context: omni::graph::core::Py_GraphContext, bundles: List[omni.graph.core._omni_graph_core.IBundle2]) -> List[omni.graph.core._omni_graph_core.IBundle2] 
 - DEPRECATED - no conversion is required