c4d.DescLevel

Represents a level within a DescID.

Members

DescLevel.id

ID of this level.

Type: int

DescLevel.dtype

Datatype. Either a custom ID or one of these:

DTYPE_NONE None.
DTYPE_CHILDREN Children.
DTYPE_GROUP Group.
DTYPE_COLOR Color.
DTYPE_SUBCONTAINER BaseContainer.
DTYPE_MULTIPLEDATA Multiple data entry.
DTYPE_TEXTURE Texture name.
DTYPE_BUTTON Button.
DTYPE_DYNAMIC GV dynamic.
DTYPE_SEPARATOR Separator.
DTYPE_STATICTEXT Static text.
DTYPE_POPUP Popup.
DTYPE_LONG Integer.
DTYPE_REAL Float.
DTYPE_TIME BaseTime.
DTYPE_VECTOR Vector.
DTYPE_MATRIX Matrix.
DTYPE_STRING String.
DTYPE_FILENAME String.
DTYPE_BASELISTLINK BaseList2D.
DTYPE_BOOL GV bool ID_GV_DATA_TYPE_BOOL.
DTYPE_NORMAL GV normal ID_GV_DATA_TYPE_NORMAL.
DTYPE_COLORA Color with Alpha.
DTYPE_VECTOR4D Vector with 4 components.
DescLevel.creator

Creator ID.

Type: int

DescLevel.__init__(t_id, t_datatype, t_creator)

Constructor, specifying the values.

Parameters:
  • t_id (int) – Initial value for id.
  • t_datatype (int) – Initial value for dtype.
  • t_creator (int) – Initial value for creator.
DescLevel.__eq__(other)

Checks if all specified values are equal to the values in other.

DescLevel.__ne__(other)

The reverse of __eq__().