This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/python/api2_2x/doc/id_generics.py

27 lines
1.1 KiB
Python
Raw Normal View History

2007-02-27 12:55:48 +00:00
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>}
"""