newton.usd.get_custom_attribute_declarations#
- newton.usd.get_custom_attribute_declarations(prim)[source]#
Get custom attribute declarations from a USD prim, typically from a
PhysicsSceneprim.Supports metadata format with assignment and frequency specified as
customData:custom float newton:namespace:attr_name = 150.0 ( customData = { string assignment = "control" string frequency = "joint_dof" } )
- Parameters:
prim (Usd.Prim) – USD
PhysicsSceneprim to parse declarations from.- Returns:
A dictionary of custom attribute declarations mapping from attribute name to
ModelBuilder.CustomAttributeobject.- Return type: