data property

CustomPart.data property

Contains the data of this custom part.

@property
def data(self) -> bytes:
    ...

@data.setter
def data(self, value: bytes):
    ...

Remarks

This property is applicable only when CustomPart.is_external is False.

The default value is an empty byte array. The value cannot be None.

See Also