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