- User Since
- Jul 16 2020, 7:15 PM (47 w, 6 d)
Fri, Jun 4
@Philipp Oeser (lichtwerk) Alright. You're correct. I now stored the vertices in actual vertex groups that let me retrieve them.
Aug 26 2020
@Robert Guetzkow (rjg) Thanks for clarification. I can now confirm that the BlenderBIM extension is causing this. With newly created objects (not imported IFC), Blender behaves like you've mentioned.
This GIF shows the difference.
@Robert Guetzkow (rjg) Okay. I'll further investigate and make a comment if I know why this is happening.
for mat in bpy.data.materials: mat.use_nodes = True principled = next(n for n in mat.node_tree.nodes if n.type == 'BSDF_PRINCIPLED') base_color = principled.inputs['Base Color'] value = base_color.default_value print(mat.name + ", " + str(value) + ", " + str(value) + ", " + str(value) + "\n\n")
It seems that use_nodes=True clears base_color attribute of imported meshes. This might be another issue.
Closed by mistake.