get_mdl_subidentifiers_for_prim

omni.kit.property.material.scripts.widgets.usdshade.utils.get_mdl_subidentifiers_for_prim(prim: Prim) Optional[List[str]]

Retrieves the list of MDL subidentifiers associated with a given USD primitive (prim) if any exist. MDL subidentifiers are unique identifiers used to reference sub-components or variants within an MDL asset.

Parameters

prim (Usd.Prim) – The USD primitive for which to retrieve MDL subidentifiers.

Returns

A sorted list of MDL subidentifiers associated with the provided USD primitive if any exist; otherwise, None.

Return type

Union[List[str], None]