c4d.DescLevel

class c4d.DescLevel

Represents a level within a DescID.

Attributes

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

Methods Signatures

DescLevel.__init__()

Constructor, specifying the values.

DescLevel.__eq__()

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

DescLevel.__ne__()

The reverse of __eq__().

Methods Documentation

DescLevel.__init__(self, t_id, t_datatype=None, t_creator=None)

Constructor, specifying the values.

Parameters
  • t_id (int) – Initial value for id.

  • t_datatype (Optional[int]) – Initial value for dtype.

  • t_creator (Optional[int]) – Initial value for creator.

DescLevel.__eq__(self, other)

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

DescLevel.__ne__(self, other)

The reverse of __eq__().