diff options
Diffstat (limited to 'doc/python_api/rst/info_quickstart.rst')
-rw-r--r-- | doc/python_api/rst/info_quickstart.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/python_api/rst/info_quickstart.rst b/doc/python_api/rst/info_quickstart.rst index 164196c0ac2..f0e1bee58e7 100644 --- a/doc/python_api/rst/info_quickstart.rst +++ b/doc/python_api/rst/info_quickstart.rst @@ -151,7 +151,7 @@ Data Creation/Removal ^^^^^^^^^^^^^^^^^^^^^ Those of you familiar with other Python API's may be surprised that -new datablocks in the bpy API can't be created by calling the class: +new data-blocks in the bpy API can't be created by calling the class: >>> bpy.types.Mesh() Traceback (most recent call last): @@ -305,7 +305,7 @@ In Python, this is done by defining a class, which is a subclass of an existing Example Operator ---------------- -.. literalinclude:: ../../../release/scripts/templates_py/operator_simple.py +.. literalinclude:: __/__/__/release/scripts/templates_py/operator_simple.py Once this script runs, ``SimpleOperator`` is registered with Blender and can be called from the operator search popup or added to the toolbar. @@ -336,7 +336,7 @@ Example Panel Panels register themselves as a class, like an operator. Notice the extra ``bl_`` variables used to set the context they display in. -.. literalinclude:: ../../../release/scripts/templates_py/ui_panel_simple.py +.. literalinclude:: __/__/__/release/scripts/templates_py/ui_panel_simple.py To run the script: @@ -393,11 +393,11 @@ so these are accessed as normal Python types. Internal Types -------------- -Used for Blender datablocks and collections: :class:`bpy.types.bpy_struct` +Used for Blender data-blocks and collections: :class:`bpy.types.bpy_struct` For data that contains its own attributes groups/meshes/bones/scenes... etc. -There are 2 main types that wrap Blenders data, one for datablocks +There are 2 main types that wrap Blenders data, one for data-blocks (known internally as ``bpy_struct``), another for properties. >>> bpy.context.object |