PrimAttributeCustomLayoutBase#

class omni.graph.ui.PrimAttributeCustomLayoutBase(compute_node_widget)#

Bases: object

Base class for Read/WritePrimAttribute

Methods

__init__(compute_node_widget)

apply(props)

get_targeted_prim(stage, node_prim_path)

Returns the first targeted prim.

get_use_path(stage, node_prim_path)

Attributes

ATTRIB_LABEL_STYLE

__init__(compute_node_widget)#
class TargetPrimAttributeNameModel(
stage: Stage,
attribute_paths: List[Path],
self_refresh: bool,
metadata: dict,
node_prim_path: Path,
target_prim: Prim,
name_filter: Callable[[str], bool] | None = None,
)#

Bases: TfTokenAttributeModel

Model for selecting the target attribute for the write/read operation. We modify the list to show attributes which are available on the target prim.

class AllowedTokenItem(
item,
label,
)#

Bases: AllowedTokenItem

static get_targeted_prim(
stage: Stage,
node_prim_path: Path,
) Prim#

Returns the first targeted prim.