I try to get the world coordinate of Vertex 0 of a selected Nurbs curve:
obj = bpy.context.selected_objects
wmtx = obj.matrix_world
localCoord = obj.data.splines.points.co
worldCoord = wmtx * localCoord
print([B]"localCoord: " + str(localCoord))
print("worldCoord: " + str(worldCoord))
The attached screenshots show I do NOT receive the correct coordinates.
(switching between global/local coordinate view in the panel).
I attach the Blender file and screenshots. Its just a basic Nurbs curve, nothing special…
Whats wrong please???