1USDGENSCHEMA(1) User Commands USDGENSCHEMA(1)
2
3
4
6 usdGenSchema - manual page for usdGenSchema 22.05b
7
9 #################################################################################################
10 # USD_DISABLE_PRIM_DEFINITIONS_FOR_USDGENSCHEMA is overridden to
11 'true'. Default is 'false'. #
12 #################################################################################################
13 usage: usdGenSchema [-h] [-v] [-q] [-n NAMESPACE [NAMESPACE ...]]
14
15 [-t TEMPLATEPATH] [-hts HEADERTERMINATORSTRING]
16 [schemaPath] [codeGenPath]
17
18 Generate C++ schema class code from a USD file.
19
20 positional arguments:
21 schemaPath
22 The source USD file where schema classes are defined. [Default:
23 ./schema.usda]
24
25 codeGenPath
26 The target directory where the code should be generated. [De‐
27 fault: .]
28
29 options:
30 -h, --help
31 show this help message and exit
32
33 -v, --validate
34 Verify that the source files are unchanged.
35
36 -q, --quiet
37 Do not output text during execution.
38
39 -n NAMESPACE [NAMESPACE ...], --namespace NAMESPACE [NAMESPACE ...]
40 Wrap code in this specified namespace. Multiple arguments will
41 be interpreted as a nested namespace. The leftmost argument
42 will be treated as the outermost namespace, with the rightmost
43 argument as the innermost.
44
45 -t TEMPLATEPATH, --templates TEMPLATEPATH
46 Directory containing schema class templates. [Default: first di‐
47 rectory that exists from this list: /builddir/ build/BUILD‐
48 ROOT/usd-22.05b- 41.fc38.x86_64/usr/bin/codegenTemplates:/build‐
49 dir/buil d/BUILDROOT/usd-22.05b-
50 41.fc38.x86_64/usr/lib64/usd/usd/resources/codegenTemp lates]
51
52 -hts HEADERTERMINATORSTRING, --headerTerminatorString HEADERTERMINA‐
53 TORSTRING
54 The string used to terminate generated C++ header files, after
55 the custom code section. [Default: #endif]
56
57
58
59usdGenSchema 22.05b November 2023 USDGENSCHEMA(1)