Material Resolve (Python)

Material Resolve Utility Functions

FnGeolibServices.MaterialResolveUtil.combineLayeredMaterialOverrides(attr1: PyFnAttribute.Attribute, attr2: PyFnAttribute.Attribute, attr3: PyFnAttribute.Attribute) → None

Combines layered material overrides from the given attributes.

FnGeolibServices.MaterialResolveUtil.extractMaterialReferences(attr: PyFnAttribute.Attribute, processHints: bool = False) → object

Extracts and returns material references from the given attribute.

FnGeolibServices.MaterialResolveUtil.getLayerPrefixesFromMaterial(attr: PyFnAttribute.Attribute) → object

Returns all layer prefixes contained in the given attribute.

FnGeolibServices.MaterialResolveUtil.resolveDeferredNetworkOps(attr: PyFnAttribute.GroupAttribute) → PyFnAttribute.GroupAttribute

Resolves deferred network Ops in the given attribute.

FnGeolibServices.MaterialResolveUtil.resolveMaterialLayers(attr: PyFnAttribute.GroupAttribute, processHints: bool = False) → PyFnAttribute.GroupAttribute

Resolves material layers in the given attribute.

FnGeolibServices.MaterialResolveUtil.resolveMaterialReferences(attr: PyFnAttribute.GroupAttribute, processHints: bool = False) → PyFnAttribute.GroupAttribute

Resolves material references in the given attribute.