UsdUtils module#

Summary: The UsdUtils module contains utility classes and functions for managing, inspecting, editing, and creating USD Assets.


Classes:

class pxr.UsdUtils.CoalescingDiagnosticDelegate#

Methods:

DumpCoalescedDiagnosticsToStderr()#
DumpCoalescedDiagnosticsToStdout()#
DumpUncoalescedDiagnostics()#
TakeCoalescedDiagnostics()#
TakeUncoalescedDiagnostics()#
class pxr.UsdUtils.CoalescingDiagnosticDelegateItem#

Attributes:

property sharedItem#
property unsharedItems#
class pxr.UsdUtils.CoalescingDiagnosticDelegateSharedItem#

Attributes:

property sourceFileName#
property sourceFunction#
property sourceLineNumber#
class pxr.UsdUtils.CoalescingDiagnosticDelegateUnsharedItem#

Attributes:

property commentary#
property context#
class pxr.UsdUtils.ConditionalAbortDiagnosticDelegate#
class pxr.UsdUtils.ConditionalAbortDiagnosticDelegateErrorFilters#

Methods:

GetCodePathFilters()#
GetStringFilters()#
SetCodePathFilters()#
SetStringFilters()#
class pxr.UsdUtils.DependencyInfo#

Attributes:

property assetPath#
property dependencies#
class pxr.UsdUtils.RegisteredVariantSet#

Info for registered variant set

Classes:

Attributes:

class SelectionExportPolicy#

Attributes:

Always = pxr.UsdUtils.SelectionExportPolicy.Always#
IfAuthored = pxr.UsdUtils.SelectionExportPolicy.IfAuthored#
Never = pxr.UsdUtils.SelectionExportPolicy.Never#
names = {'Always': pxr.UsdUtils.SelectionExportPolicy.Always, 'IfAuthored': pxr.UsdUtils.SelectionExportPolicy.IfAuthored, 'Never': pxr.UsdUtils.SelectionExportPolicy.Never}#
values = {0: pxr.UsdUtils.SelectionExportPolicy.Never, 1: pxr.UsdUtils.SelectionExportPolicy.IfAuthored, 2: pxr.UsdUtils.SelectionExportPolicy.Always}#
property name#
property selectionExportPolicy#
class pxr.UsdUtils.SparseAttrValueWriter#

Methods:

SetTimeSample()#
class pxr.UsdUtils.SparseValueWriter#

Methods:

GetSparseAttrValueWriters()#
SetAttribute()#
class pxr.UsdUtils.StageCache#

Methods:

static Get()#
static GetSessionLayerForVariantSelections()#
class pxr.UsdUtils.TimeCodeRange#

Classes:

Methods:

Attributes:

class Tokens#

Attributes:

EmptyTimeCodeRange = 'NONE'#
RangeSeparator = ':'#
StrideSeparator = 'x'#
static CreateFromFrameSpec()#
IsValid()#
empty()#
property endTimeCode#
property frameSpec#
property startTimeCode#
property stride#
class pxr.UsdUtils.UsdStageStatsKeys#

Attributes:

activePrimCount = 'activePrimCount'#
approxMemoryInMb = 'approxMemoryInMb'#
assetCount = 'assetCount'#
inactivePrimCount = 'inactivePrimCount'#
instanceCount = 'instanceCount'#
instancedModelCount = 'instancedModelCount'#
modelCount = 'modelCount'#
primCounts = 'primCounts'#
primCountsByType = 'primCountsByType'#
primary = 'primary'#
prototypeCount = 'prototypeCount'#
prototypes = 'prototypes'#
pureOverCount = 'pureOverCount'#
totalInstanceCount = 'totalInstanceCount'#
totalPrimCount = 'totalPrimCount'#
untyped = 'untyped'#
usedLayerCount = 'usedLayerCount'#