The result of return
Hi, I have taken the course and I want to ask you about this line of code : my_cube = bpy.ops.mesh.primitive_cube_add(). After running this line, I saw that a Cube object is created in Outliner. And I thought I can access the location of the cube with my_cube.location , but it doesn't work. How can I see the result of the above line ,since it doesn't return an object ?
2
4 comments
Razvan Diaconescu
1
The result of return
CG Python Academy (Free)
skool.com/cgpython
3D artists learning Blender Python.
Leaderboard (30-day)
Powered by