newton.usd.has_attribute#
- newton.usd.has_attribute(prim, name)[source]#
Check if a USD prim has a valid and authored attribute.
- Parameters:
prim (pxr.Usd.Prim) – The USD prim to query.
name (str) – The name of the attribute to check.
- Returns:
True if the attribute exists, is valid, and has an authored value, False otherwise.
- Return type: