check_ancestral

omni.usd.check_ancestral(prim: Prim) bool

Check if prim is brought into composition by its ancestor.

Parameters

prim (Usd.Prim) – The prim to check.

Returns

True if it’s ancestral prim, or False otherwise.

Return type

bool