Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-11-30 01:10:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-11-30 01:10:40 +0300
commitf81aeac2bc98624d1fd7de9a615303637cea39c1 (patch)
tree6909c6b4ef461b66af0dc7cea2d29cec3423af49 /doc
parent8c9d632128d89ef48fdb560289a3f1553b811340 (diff)
Docs: rename group -> collection
Diffstat (limited to 'doc')
-rw-r--r--doc/python_api/rst/info_gotcha.rst2
-rw-r--r--doc/python_api/rst/info_quickstart.rst10
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/python_api/rst/info_gotcha.rst b/doc/python_api/rst/info_gotcha.rst
index 6200936dd04..057fe22ae68 100644
--- a/doc/python_api/rst/info_gotcha.rst
+++ b/doc/python_api/rst/info_gotcha.rst
@@ -741,7 +741,7 @@ Removing Data
**Any** data that you remove shouldn't be modified or accessed afterwards,
this includes f-curves, drivers, render layers, timeline markers, modifiers, constraints
-along with objects, scenes, groups, bones.. etc.
+along with objects, scenes, collections, bones.. etc.
The ``remove()`` api calls will invalidate the data they free to prevent common mistakes.
diff --git a/doc/python_api/rst/info_quickstart.rst b/doc/python_api/rst/info_quickstart.rst
index 31bcabe4381..7bab69ab52d 100644
--- a/doc/python_api/rst/info_quickstart.rst
+++ b/doc/python_api/rst/info_quickstart.rst
@@ -120,7 +120,7 @@ however, the index of a member may change while running Blender.
Accessing Attributes
^^^^^^^^^^^^^^^^^^^^
-Once you have a data block, such as a material, object, groups etc.,
+Once you have a data block, such as a material, object, collections etc.,
its attributes can be accessed much like you would change a setting using the graphical interface.
In fact, the tooltip for each button also displays the Python attribute
which can help in finding what settings to change in a script.
@@ -195,10 +195,10 @@ Example:
value = bpy.data.scenes["Scene"].get("test_prop", "fallback value")
# dictionaries can be assigned as long as they only use basic types.
- group = bpy.data.groups.new("MyTestGroup")
- group["MySettings"] = {"foo": 10, "bar": "spam", "baz": {}}
+ collection = bpy.data.collections.new("MyTestCollection")
+ collection["MySettings"] = {"foo": 10, "bar": "spam", "baz": {}}
- del group["MySettings"]
+ del collection["MySettings"]
Note that these properties can only be assigned basic Python types.
@@ -394,7 +394,7 @@ Internal Types
Used for Blender data-blocks and collections: :class:`bpy.types.bpy_struct`
-For data that contains its own attributes groups/meshes/bones/scenes... etc.
+For data that contains its own attributes collections/meshes/bones/scenes... etc.
There are 2 main types that wrap Blenders data, one for data-blocks
(known internally as ``bpy_struct``), another for properties.