Created
October 30, 2015 09:43
-
-
Save zeffii/5e09499192154489bf3e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nodes = bpy.data.materials[0].node_tree.nodes | |
gnodes = nodes["Group"].node_tree.nodes | |
cRamp = nodes["ColorRamp"] | |
elements = cRamp.color_ramp.elements | |
elements[1].color = section[1] | |
elements[1].position = input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment