MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / buildGeompropNames

Function buildGeompropNames

python/Scripts/comparenodedefs.py:237–239  ·  view source on GitHub ↗

Extract geomprop names from standard library GeomPropDefs.

(stdlib)

Source from the content-addressed store, hash-verified

235# -----------------------------------------------------------------------------
236
237def buildGeompropNames(stdlib):
238 '''Extract geomprop names from standard library GeomPropDefs.'''
239 return {gpd.getName() for gpd in stdlib.getGeomPropDefs()}
240
241def getComponentCount(typeName):
242 '''Get the number of components for a MaterialX type, or None if unknown.'''

Callers 1

mainFunction · 0.85

Calls 1

getNameMethod · 0.45

Tested by

no test coverage detected