c4d.VariableTag

Inheritance

Members

VariableTag.__init__(type, count)
Parameters:
  • type (int) – The id of the object, e.g: (Tvariable). See also: Descriptions in CINEMA 4D.
  • type – Count of elements in the tag.
Return type:

VariableTag

Returns:

A new variable tag.

VariableTag.GetAllHighlevelData()

A a list of elements of the corressponding type of the tag.

Return type: any
Returns: The values.
VariableTag.SetAllHighlevelData(data)

Set the values to the variable tag. The type of the elements must be of the correct type.

Parameters: data (any) – The values for the tag.
VariableTag.GetDataCount()

Get the number of data elements in this variable tag.

Return type: int
Returns: The number of elements.
VariableTag.GetDataSize()

Get the size of one element in bytes.

Return type: int
Returns: Byte size of an element.
VariableTag.GetLowLevelDataAddressW()

Returns a writeable buffer object to the internal data of the tag.

Return type: ByteSeq
Returns: The buffer object.
VariableTag.GetLowLevelDataAddressR()

Returns a readable buffer object to the internal data of the tag.

Return type: ByteSeq
Returns: The buffer object.

Table Of Contents