I have question about how to add a name/id/label on a mesh with python.
I want to add this: "206" = ID
through this script
bpy.ops.mesh.primitive_uv_sphere_add(segments=32, ring_count=16, size=0.1, location=(0.2683, 3.4048, 6.3122))
So it automatically shows up under the outliner list.
As for today if i want to give a mesh an id or label. i have to manually select a mesh through the outliner and type the label or ID i want it to have.
Thanks for all the replies btw.
Compiling, libraries, modules, coding guidelines and porting
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 4 guests