usdGenSchema - Man Page
manual page for usdGenSchema 24.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 ...]
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, --templates TEMPLATEPATH
Directory containing schema class templates. [Default: first directory that exists from this list: /builddir/ build/BUILD/usd-24.11- build/BUILDROOT/usr/bin/codegenTemplates:/builddir/bui ld/BUILD/usd-24.11- build/BUILDROOT/usr/lib64/usd/usd/resources/codegenTem plates]
- -hts, --headerTerminatorString HEADERTERMINATORSTRING
The string used to terminate generated C++ header files, after the custom code section. [Default: #endif]