Note
Go to the end to download the full example code.
Plain usage of the USD Viewer#
This example shows the plain usage of the USD Viewer.
from ansys.tools.usdviewer.viewer import USDViewer
# Load USD file
path = r"display_color.usda"
viewer = USDViewer(title="USD Viewer", size=(800, 800))
viewer.load_usd(path)
viewer.show()