USDINITSCHEMA(1) User Commands USDINITSCHEMA(1)

usdInitSchema - manual page for usdInitSchema 25.11

usage: usdInitSchema [-h] [-v] [-q] [--genModuleDeps] [-t TEMPLATEPATH]

codeGenPath libraryPath [pxrPrefix]

Set up build necessities for schema classes. This will generate templates for the CMakeLists.txt, __init__.py, schema.usda, module.cpp, and a user doc if they do not already exist.

The target directory where the code should be generated. Can be '.' for the current directory.
The partial path with which to prefix '#include' statements of generated files for this module. For external (non-Pixar) plugins, we recommend setting libraryPath to ".", so that the headers inside src directory are included in the generated files.
Prefix to the path from pxr to this library. For pxr/usd/usd, the prefix would be pxr/usd. Omit this argument for non-OpenUSD build systems.

show this help message and exit
Verify that the source files are unchanged.
Do not output text during execution.
Generates a template for the moduleDeps.cpp. This template will need to be filled in and kept up to date with library dependencies if you are not using the OpenUSD build system.
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]
December 2025 usdInitSchema 25.11