newton.usd.get_attributes_in_namespace#

newton.usd.get_attributes_in_namespace(prim, namespace)[source]#

Get all attributes in a namespace from a USD prim.

Parameters:
  • prim (Prim) – The USD prim to query.

  • namespace (str) – The namespace to query.

Returns:

A dictionary of attributes in the namespace mapping from attribute name to value.

Return type:

dict[str, Any]