usdGenSchema(1)

USDGENSCHEMA(1) User Commands USDGENSCHEMA(1)

NAME

usdGenSchema - manual page for usdGenSchema 25.11

DESCRIPTION

################################################################################################# # USD_DISABLE_PRIM_DEFINITIONS_FOR_USDGENSCHEMA is overridden to 'true'. Default is 'false'. # ################################################################################################# usage: usdGenSchema [-h] [-v] [-q] [-n NAMESPACE [NAMESPACE ...]]

[-t TEMPLATEPATH] [-hts HEADERTERMINATORSTRING]
[schemaPath] [codeGenPath]

Generate C++ schema class code from a USD file.

positional arguments:

schemaPath
The source USD file where schema classes are defined. [Default: ./schema.usda]
codeGenPath
The target directory where the code should be generated. [Default: .]

options:

-h, --help
show this help message and exit
-v, --validate
Verify that the source files are unchanged.
-q, --quiet
Do not output text during execution.
-n NAMESPACE [NAMESPACE ...], --namespace NAMESPACE [NAMESPACE ...]
Wrap code in this specified namespace. Multiple arguments will be interpreted as a nested namespace. The leftmost argument will be treated as the outermost namespace, with the rightmost argument as the innermost.
-t TEMPLATEPATH, --templates TEMPLATEPATH
Directory containing schema class templates. [Default: first directory that exists from this list: /usr/src/tmp/OpenUSD-buildroot/usr/bin/codegenTemplate s:/usr/src/tmp/OpenUSD-buildroot/usr/lib64/usd/usd/res ources/codegenTemplates]
-hts HEADERTERMINATORSTRING, --headerTerminatorString HEADERTERMINATORSTRING
The string used to terminate generated C++ header files, after the custom code section. [Default: #endif]
November 2025 usdGenSchema 25.11