Which prim name is valid in OpenUSD?
- Exam domain
- Workflow Architecture24% of the exam
- Difficulty
- Medium
- In this mock
- 12 questions on this domainPractise this domain
Why the exam asks this
Workflow Architecture (24% of the exam)
Objective in the exam guide: Naming conventions
Naming conventions are named.
Why A is the answer
chair_03
Prim names must be valid identifiers: letters, digits and underscores, not starting with a digit. Hyphens and spaces are not allowed.
Remember: Prim names are identifiers.
How it works
OpenUSD prim names follow identifier rules; studios layer conventions on top.
In detail
- Letters, digits, underscores.
- Cannot start with a digit.
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. chair_03Right
Prim names are identifiers.
B. chair-03, because hyphens are allowed in file namesWrongMost tempting
Hyphens are not allowed in prim names.
Why it tempts: File names allow hyphens, prim names do not.
C. chair 03Wrong
Spaces are not allowed.
D. 3rd_chair, because numbers help sort assets in a listWrong
Names cannot start with a digit.
Use case
An illustrative scenario, not a real incident.
Illustrative: an importer renames "chair-03" to "chair_03" so the stage loads cleanly.
See it in different ways
flowchart TD
Q{"Check the name"}
Q -->|"Starts with a digit"| A0["Invalid"]
Q -->|"Has a hyphen or space"| A1["Invalid"]
Q -->|"Letters, digits, underscores"| A2["Valid"]How to read this chart
- At "Check the name": if "Starts with a digit", go to "Invalid"; if "Has a hyphen or space", go to "Invalid"; if "Letters, digits, underscores", go to "Valid".
mindmap
root(("Names"))
n1["Rules"]
n2["Identifier characters"]
n3["No leading digit"]
n4["Studio conventions"]
n5["Consistent case"]
n6["Meaningful prefixes"]How to read this chart
- The centre is "Names".
- "Rules" covers "Identifier characters", "No leading digit".
- "Studio conventions" covers "Consistent case", "Meaningful prefixes".