---
name: "usdGenSchema"
section: "1"
platform: "linux"
package: "usd"
version: "26.11.1-3"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/usdGenSchema"
---

# usdGenSchema(1)

manual page for usdGenSchema 26.11.1

## NAME

usdGenSchema - manual page for usdGenSchema 26.11.1

## 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: */build/usd* /pkg/usd/usr/bin/codegenTemplates:/build/usd/pkg/usd/u sr/lib/usd/usd/resources/codegenTemplates\]

- **-hts**, **--headerTerminatorString** HEADERTERMINATORSTRING

  The string used to terminate generated C++ header files, after the custom code section. \[Default: #endif\]
