This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com

c4d.DescLevel – a DescLevel class

Represents a level within a DescID.

class c4d.DescLevel

Public variable
Parameters:
  • id (int) – ID of this level.
  • dtype (int) – Datatype. Either a custom ID or one of these:
  • creator (int) – Creator ID.

Methods

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__(self, other)
Checks if all specified values are equal to the values in other.
DescLevel.__ne__(self, other)
The reverse of __eq__.

Table Of Contents

This Page