Skip to main content
9 events
when toggle format what by license comment
Nov 30 at 20:26 comment added Alex Budovski Is it possible to get them from inside the NodeTree itself, such as from a driver expression?
Apr 13, 2017 at 12:57 history edited CommunityBot
replaced http://blender.stackexchange.com/ with https://blender.stackexchange.com/
Apr 8, 2017 at 21:14 comment added jdurrant If you've got some extra time, I posted a related question here: blender.stackexchange.com/questions/77365/… :)
Apr 8, 2017 at 20:44 comment added jdurrant Perfect! I should have figured the .default_value thing out myself. Thanks for your help. I accepted your answer.
Apr 8, 2017 at 20:43 vote accept jdurrant
Apr 8, 2017 at 18:00 history edited Jaroslav Jerryno Novotny CC BY-SA 3.0
added 94 characters in body
Apr 8, 2017 at 17:58 comment added Jaroslav Jerryno Novotny @jdurrant I am super sorry, there needs be .default_value of course. That will give you a vector type with RGBA
Apr 8, 2017 at 14:48 comment added jdurrant When I print(color), I get this: <bpy_struct, NodeSocketColor("Color or Image")>. But I need the RGB values of the color (if it's a color) or the filename of the image (if it's an image-texture input). dir(color) gives ['__doc__', '__module__', '__slots__', 'bl_idname', 'bl_rna', 'default_value', 'draw', 'draw_color', 'enabled', 'hide', 'hide_value', 'identifier', 'is_linked', 'is_output', 'link_limit', 'name', 'node', 'rna_type', 'show_expanded', 'type']. I can't for the life of me figure out how to get the actual values from those properties. Thanks!
Apr 8, 2017 at 8:58 history answered Jaroslav Jerryno Novotny CC BY-SA 3.0