added wrong file.
This commit is contained in:
27
source/blender/python/api2_2x/doc/id_generics.py
Normal file
27
source/blender/python/api2_2x/doc/id_generics.py
Normal file
@@ -0,0 +1,27 @@
|
||||
attributes = """
|
||||
@ivar name: unique name within each blend file.
|
||||
|
||||
The name is case sensitive and 21 characters maximum length.
|
||||
|
||||
B{Note}: a blend file may have naming collisions when external library data is used,
|
||||
be sure to check the value of L{lib}.
|
||||
|
||||
B{Note}: Setting a value longer then 21 characters will be shortened
|
||||
@type name: string
|
||||
@ivar lib: path to the blend file this datablock is stored in (readonly).
|
||||
|
||||
lib will be None unless you are using external blend files with (File, Append/Link)
|
||||
|
||||
B{Note}: the path may be relative, to get the full path use L{Blender.sys.expandpath<Sys.expandpath>}
|
||||
@type lib: string or None
|
||||
|
||||
@ivar fakeUser: When set to True, this datablock wont be removed, even if nothing is using it.
|
||||
All data has this disabled by default except for Actions.
|
||||
@type fakeUser: bool
|
||||
@ivar users: The number of users this datablock has. (readonly)
|
||||
Zero user datablocks are de-allocated after reloading and saving.
|
||||
@type users: int
|
||||
@ivar properties: Returns an L{IDGroup<IDProp.IDGroup>} reference to this
|
||||
datablocks's ID Properties.
|
||||
@type properties: L{IDGroup<IDProp.IDGroup>}
|
||||
"""
|
||||
@@ -1,8 +0,0 @@
|
||||
epytext=\
|
||||
''' @ivar name: The name of this Group object.
|
||||
@type name: string
|
||||
@ivar users: Number of users this group has (read only)
|
||||
@type users: int
|
||||
@ivar fakeUser: The fake user status.
|
||||
Enabling this will keep it in the blend even if there are no users.
|
||||
@type fakeUser: bool'''
|
||||
Reference in New Issue
Block a user