USDGENSCHEMA(1)
π USDGENSCHEMA(1) π
okay so bestie, welcome to usdGenSchema(1) β straight out of the User Commands section of the manual. this is the whole vibe, let's get into it π«Ά
β¨ NAME β¨
usdGenSchema β literally the manual page for usdGenSchema 26.11.1, no cap π
πΈ DESCRIPTION πΈ
first up, the tool hits you with this big dramatic banner box before it even says hi. here it is verbatim, because it's iconic and also important:
#################################################################################################
# USD_DISABLE_PRIM_DEFINITIONS_FOR_USDGENSCHEMA is overridden to
'true'. Default is 'false'. #
#################################################################################################
so yeah β that env var gets overridden to 'true', and the default is 'false'. noted π
then comes the usage line, serving full main-character energy:
usage: usdGenSchema [-h] [-v] [-q] [-n NAMESPACE [NAMESPACE ...]]
[-t TEMPLATEPATH] [-hts HEADERTERMINATORSTRING]
[schemaPath] [codeGenPath]
and what does it actually do? it's giving code generator realness:
Generate C++ schema class code from a USD file. π₯
π positional arguments π
schemaPathβ the source USD file where your schema classes are defined. [Default:./schema.usda] πcodeGenPathβ the target directory where the code should be generated, i.e. where all the magic lands. [Default:.] π
π options π
-h,--helpβ show this help message and then dip (exit). π-v,--validateβ verify that the source files are unchanged. like a vibe check, but for files β¨-q,--quietβ do not output text during execution. shhh, no yapping π€«-n,--namespace NAMESPACE [NAMESPACE ...]β wrap the code in this specified namespace. multiple arguments get interpreted as a nested namespace. the leftmost argument is treated as the outermost namespace, and the rightmost argument is the innermost β so left = outside, right = inside, inny-outy energy π§-t,--templates TEMPLATEPATHβ directory containing schema class templates. [Default: first directory that exists from this list:/build/usd/pkg/usd/usr/bin/codegenTemplates:/build/usd/pkg/usd/usr/lib/usd/usd/resources/codegenTemplates] π
π real talk: that default list is line-wrapped mid-word in the output β/build/usd/pkg/usd/uandsr/lib/usd/usd/resources/codegenTemplatesare one path split across lines. don't come for me, I'm just the messenger. copy it from the actual output, iykyk.
-hts,--headerTerminatorString HEADERTERMINATORSTRINGβ the string used to terminate generated C++ header files, after the custom code section. [Default:#endif] β
and that's the whole page, bestie β you ate that π
signing off: usdGenSchema 26.11.1, dated October 2026, and yes the manual page itself is literally USDGENSCHEMA(1) β periodt π
π¦ where this page comes from
- arch rolling: usd 26.11.1-3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms