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

Function getGeoms

python/Scripts/mxvalidate.py:331–340  ·  view source on GitHub ↗
(elem, resolve)

Source from the content-addressed store, hash-verified

329 return elem.getValueString()
330
331def getGeoms(elem, resolve):
332 s = ""
333 if elem.hasGeom():
334 if resolve:
335 s = s + ' geom "%s"' % elem.getActiveGeom()
336 else:
337 s = s + ' geom "%s"' % elem.getGeom()
338 if elem.hasCollectionString():
339 s = s + ' collection "%s"' % elem.getCollectionString()
340 return s
341
342def getViewerGeoms(elem):
343 s = ""

Callers 1

listContentsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected