Skip to content

Commit aa1824f

Browse files
committed
Merge pull request #3394 from ttrently/dev
Update to schema examples documentation (Internal change: 2351552)
2 parents 3e237b6 + 41eaf64 commit aa1824f

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/tut_generating_new_schema.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,10 @@ To rebuild the plugin, simply go to the root of your build directory and run.
365365
366366
Using the Schema Classes
367367
########################
368-
.. note:: Because this schema is an external plugin, the USD build must be told
369-
where to find it before it can be used. This can be done by either:
368+
.. note::
369+
370+
Because this schema is an external plugin, the USD build must be told
371+
where to find it before it can be used. This can be done by either:
370372

371373
* Setting the :filename:`PXR_PLUGINPATH_NAME` environment variable to
372374
the location of the plugin's :filename:`resources` directory. For
@@ -376,7 +378,13 @@ Using the Schema Classes
376378

377379
* Copying :filename:`usdSchemaExamples.so` (on Windows,
378380
:filename:`usdSchemaExamples.dll` and :filename:`.lib`) and the
379-
:filename:`usdSchemaExamples` directory to :filename`<prefix>/plugin/usd`
381+
:filename:`usdSchemaExamples` directory to :filename:`<prefix>/plugin/usd`
382+
383+
You may encounter "ImportError DLL load failed" when running from
384+
Python 3.8+ on Windows. This is due to the DLL directory not being added to
385+
trusted locations and can be resolved by manually adding the
386+
:filename:`resources` directory before import via
387+
:mono:`os.add_dll_directory("/path/to/plugin/resources/directory")`.
380388

381389
Create a usd file named Test.usda with the following content:
382390

0 commit comments

Comments
 (0)