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.

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

  2. __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

omni.graph.core.IBundleFactory2

create_bundle(self: omni.graph.core._omni_graph_core.IBundleFactory, context: omni::graph::core::Py_GraphContext, path: str) omni.graph.core._omni_graph_core.IBundle2

Create bundle at given path.

Parameters
Returns

Bundle instance.

Return type

omni.graph.core.IBundle2

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
Returns

A list of bundle instances.

Return type

list[omni.graph.core.IBundle2]

get_bundle(*args, **kwargs)

Overloaded function.

  1. 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

  1. 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.

  1. 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

  1. 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