QuestionQ15

VerifiedData Modeling

If you have a Usd.Prim object named my_prim and want to retrieve an attribute specifically named "size", which method would you typically use?

Explanation

GetAttribute("size") returns a UsdAttribute for the named attribute. The returned object should be checked for validity because the attribute may not exist. (openusd.org)

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!