What is the difference between an attribute and a relationship in OpenUSD?
- Exam domain
- OpenUSD Fundamentals27% of the exam
- Difficulty
- Easy
- In this mock
- 14 questions on this domainPractise this domain
Why the exam asks this
OpenUSD Fundamentals (27% of the exam)
Objective in the exam guide: Attributes and relationships
Attributes and relationships are named.
Why B is the answer
Attributes hold typed values; relationships point to other prims or properties
Attributes store typed data such as points or colours and can vary over time. Relationships store paths to targets, such as a material binding.
Remember: Attributes hold values; relationships point.
How it works
Properties are attributes, which hold values, or relationships, which target paths.
In detail
- Attribute: a value.
- Relationship: a pointer to targets.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. There is no difference between themWrong
They serve different jobs.
B. Attributes hold typed values; relationships point to other prims or propertiesRight
Attributes hold values; relationships point.
C. Attributes link prims to other prims, while relationships store numbers and coloursWrongMost tempting
That swaps them.
Why it tempts: Swapping the two is a common mix-up.
D. Relationships can be animated over time, while attributes never canWrong
Attributes can be time-sampled; relationships cannot.
Use case
An illustrative scenario, not a real incident.
Illustrative: a mesh's points attribute holds positions; its material binding relationship targets a material prim.
See it in different ways
mindmap
root(("OpenUSD scene"))
n1["Stage"]
n2["Composed view of the scene"]
n3["Layers"]
n4["Files that hold opinions"]
n5["Prims"]
n6["Nodes in the hierarchy"]
n7["Properties"]
n8["Attributes hold values"]
n9["Relationships point to targets"]How to read this chart
- The centre is "OpenUSD scene".
- "Stage" covers "Composed view of the scene".
- "Layers" covers "Files that hold opinions".
- "Prims" covers "Nodes in the hierarchy".
- "Properties" covers "Attributes hold values", "Relationships point to targets".
flowchart TD
Q{"What does the property hold?"}
Q -->|"A typed value"| A0["Attribute"]
Q -->|"A path to a target"| A1["Relationship"]How to read this chart
- At "What does the property hold?": if "A typed value", go to "Attribute"; if "A path to a target", go to "Relationship".