Hey there people. This probably seems really simple to you python folk out there - unfortunately I’m teaching myself python, so i can only go so far.
My problem is to do with an idea for a script that I’ve been sitting on for a while now. I’ll give more details once I’ve got it working/have taught myself enough python to do so.
Anyway, the problem. I’m trying to duplicate objects through this script (as in either shift-d or alt-d within Blender - try them to find out the difference between them if you’re not sure). Is there a way to do either of these within python aside from creating a loop which duplicates faces, materials, UVs, vertex colours etc (let’s face it - that would be long and very boring, and probably fail anyway!).
Also, can anyone tell me how to get values from a button in a Blender gui (you know, one you create with a script)? I’ve tried that trick where you put variable.val inside the button declaration, but it keeps raising an error with the .val - python doesn’t seem to have a clue about it. Blender 2.23, python 2.0.1.
Comments? Flames? Posts saying what an idiot I am? Any of these would be helpful! Thanks guys!