usdInitSchema(1)

USDINITSCHEMA(1) User Commands USDINITSCHEMA(1)

NAME

usdInitSchema - manual page for usdInitSchema 25.11

DESCRIPTION

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.

positional arguments:

codeGenPath
The target directory where the code should be generated. Can be '.' for the current directory.
libraryPath
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.
pxrPrefix
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.

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.
--genModuleDeps
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.
-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]
November 2025 usdInitSchema 25.11