<div dir="auto"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(147,52,230)">This might work for DEF/USE of materials in BlenderĀ </span></div><div dir="auto"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(147,52,230)"><br></span></div><div dir="auto"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(147,52,230)">import</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)"> </span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(180,89,8)">bpy</span><br style="color:rgb(0,29,53);font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none"><br style="color:rgb(0,29,53);font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(180,89,8)">obj1</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)"> = bpy.data.objects[</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(24,128,56)">"</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(24,128,56)">Cube</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(24,128,56)">"</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)">]</span><br style="color:rgb(0,29,53);font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(180,89,8)">obj2</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)"> = bpy.data.objects[</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(24,128,56)">"</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(24,128,56)">Sphere</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(24,128,56)">"</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)">]</span><br style="color:rgb(0,29,53);font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none"><br style="color:rgb(0,29,53);font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(180,89,8)">material</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)"> = obj1.data.materials[</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(180,89,8)">0</span><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)">]  </span><span style="font-style:italic;font-family:monospace;font-size:18.199999px;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(128,134,139)"># Get the material from obj1</span><br style="color:rgb(0,29,53);font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none"><br style="color:rgb(0,29,53);font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none"><span style="font-style:italic;font-family:monospace;font-size:18.199999px;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(128,134,139)"># Assign the material to obj2</span><br style="color:rgb(0,29,53);font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)">obj2.data.materials.append(material)</span></div><div dir="auto"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)"><br></span></div><div dir="auto"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)">It looks like objects can have more than one material, maybe a bit like MultiTexture.</span></div><div dir="auto"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)"><br></span></div><div dir="auto"><span style="font-family:monospace;font-size:18.199999px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:pre;word-spacing:0px;text-decoration:none;color:rgb(0,29,53)">John</span></div>