Usage Examples#
Get the Info Path#
import omni.usd_libs
# Gets
path = omni.usd_libs.get_info_path() # This returns the USD package-info.yaml path
Get the Info Data#
import omni.usd_libs
# Gets
data = omni.usd_libs.get_info_data() # This returns the dictionary data stored in USD package-info.yaml
Get the USD Package Name#
import omni.usd_libs
# Gets
data = omni.usd_libs.get_name() # This returns the USD package version, eg. "23.05.nv.0.1.2345.abcdef-win64_py310_release-main"
Get the USD Package Version#
import omni.usd_libs
# Gets
data = omni.usd_libs.get_version() # This returns the USD package name