Im over here reading the Blender 2.76 manual
and the last exercise on this page doesnt work
Description
Description
Revisions and Commits
Revisions and Commits
Related Objects
Related Objects
- Mentioned Here
- rBM1311: Fix T47359 Remove prompt prefix from docs.
Event Timeline
Comment Actions
I copy/paste:
mylayers = [False] * 20
then hit return
then I copy/paste:
mylayers[0] = True
then I hit return
then I copy/paste:
add_cube = bpy.ops.mesh.primitive_cube_add
then hit return
then I copy/paste:
for index in range(0, 5):
... add_cube(location=(index * 3, 0, 0), layers=mylayers)
then hit return
and this shows up in red:
File "<blender_console>", line 2
... add_cube(location=(index * 3, 0, 0), layers=mylayers)
^IndentationError: expected an indented block
Comment Actions
This is showing what the python prompt will look like, you're not meant to type it in.
Yet its not really needed, and a bit confusing, removed rBM1311.