Log In
New Account
Home My Page Projects Blender 2.x BF release
Summary Activity Tracker SCM Files

Patches: Browse

[#11115] Armature documentation (web page) error/enhancement

Date:
2008-05-10 15:05
Priority:
3
State:
Closed
Submitted by:
Roger Wickes (roger)
Assigned to:
Campbell Barton (campbellbarton)
Category:
None
Group:
None
Resolution(Old, use status):
None
Resolution:
Closed
Patch for:
 
Summary:
Armature documentation (web page) error/enhancement
Detailed description
this is coming from a really newb perspective and is a very picky comment, but:

this page http://www.blender.org/documentation/245PythonDoc/Armature-module.html the first example should be simpler, as it tries to edit all armatures in the file etc. I would suggest that it be replaced by:

have the comment that it edits all existing armature, and that you should run the armature creation script on this page http://www.blender.org/documentation/245PythonDoc/Pose-module.html first from an empty scene, so that an armature with a bone.003 exists.

then, on the Armature-module.html page, the example should begin:

# start with a new blend file and run the first example script on Pose-module.html to create a 4-bone armature: http://www.blender.org/documentation/245PythonDoc/Pose-module.html
# this example shows you how to edit that armature

import Blender
from Blender import *

arm = Armature.Get('myArmature')
if True:
arm.drawType = Armature.STICK #set the draw type
arm.makeEditable() #enter editmode
#generating new editbone
... (the rest works just fine)

Followup

Message
 

Attached Files:

No Files Currently Attached

Changes:

Field Old Value Date By
status_idOpen2012-05-26 13:35campbellbarton
close_dateNone2012-05-26 13:35campbellbarton
assigned_toletterrip2008-06-15 17:49theeth
assigned_tonone2008-06-15 17:49letterrip