forceRandomOnLayerType
mpt forceRandomOnLayerType cyclic { "none" | "cut" | "metal" | "all"}
Description
Forces the unclustered shape color or default shape assignment mode to be set to random. You can specify this environment variable when you want to use a random color assignment even if default colors are assigned for specific layers. When you specify this environment variable, the default colors are not deleted.
-
none: If a default color is set, the random mode has no priority on the color assignment over the default color for the specific layers. -
cut: The random mode is forced only on cut layers. -
metal: The random mode is forced for the metal layers only. The cut layers will have the default behavior. -
all: The random mode is forced on all layers, cut and metal.
GUI Equivalent
Examples
envGetVal("mpt" "forceRandomOnLayerType")
envSetVal("mpt" "forceRandomOnLayerType" 'cyclic "cut")
envSetVal("mpt" "forceRandomOnLayerType" 'cyclic "metal")
envSetVal("mpt" "forceRandomOnLayerType" 'cyclic "all")
Related Topics
Return to top