Last updated on
Sep 15, 2025
Note
Documentation for Substance Automation Toolkit is now included in the SAT package. You can access the documentation by opening html-doc.zip inside your downloaded SAT package.
mdlenum
Module mdlenum provides all the enumeration used in Pysbs related to MDL graphs.
class mdl.mdlenum.MDLImplementationKindEnum
Bases: object
Enumeration of the kind of MDL node implementation available for a MDLImplementation
CONSTANT = 0 SELECTOR = 1 MDL_INSTANCE = 2 MDL_GRAPH_INSTANCE = 3 SBS_INSTANCE = 4 PASSTHROUGH = 5
class mdl.mdlenum.MDLAnnotationEnum
Bases: object
Enumeration of the annotations used in a MDL graph.
AUTHOR = 0 CONTRIBUTOR = 1 COPYRIGHT = 2 DESCRIPTION = 3 DISPLAY_NAME = 4 GAMMA_TYPE = 5 KEYWORDS = 6 IN_GROUP = 7 HIDDEN = 8 SAMPLER_USAGE = 9 SOFT_RANGE = 10 HARD_RANGE = 11 VISIBLE_BY_DEFAULT = 12
class mdl.mdlenum.MDLTypeDefKindEnum
Bases: object
Enumeration of the kind of mdl types
UNKNOWN = 0 ARRAY = 1 ATOMIC = 2 BSDF_MEASURE = 3 CALL = 4 COLOR = 5 ENUM = 6 LIGHT_PROFILE = 7 MATRIX = 8 PARAM_REFERENCE = 9 RESOURCE = 10 REFERENCE = 11 STRUCT = 12 TEXTURE = 13 VECTOR = 14
class mdl.mdlenum.MDLTypeModifierEnum
Bases: object
Enumeration of the type modifier available
UNIFORM = 0 VARYING = 1 AUTO = 2
class mdl.mdlenum.MDLPredefTypes
Bases: object
Enumeration of some predefined mdl type
CALL = 0 COLOR = 1 COLOR_LAYER = 2 FLOAT = 3 FLOAT3 = 4 STRING = 5 MATERIAL = 6
class mdl.mdlenum.MDLGraphTemplateEnum
Bases: object
Enumeration of the MDL Graph templates available in Substance Designer
AXF_2_PBR_METALLIC_ROUGHNESS = 0 AXF_2_PBR_SPECULAR_GLOSSINESS = 1 DIELECTRIC = 2 DIELECTRIC_IOR = 3 EMPTY = 4 METALLIC = 5 METALLIC_ANISOTROPIC = 6 PHYSICALLY_METALLIC_ROUGHNESS = 7 PHYSICALLY_SPECULAR_GLOSSINESS = 8 TRANSLUCENT = 9 TRANSPARENT = 10