GeData is a container class. This container is used to store data of all classic data types that are supported by Cinema 4D.
A GeData object can be used to directly change the value of a parameter of a C4DAtom object:
See also C4DAtom Manual.
A BaseContainer object stores multiple values using GeData objects:
See also BaseContainer Manual.
A GeData object stores data of a certain type.
The GeData class offers access functions for all supported data types. "Set" functions set the value and also change the data type if needed. "Get" functions return the value and are only allowed to be used if the data type matches.
Int32 and Bool data (data type DA_LONG):
Int64 data (data type DA_LLONG):
Float data (data type DA_REAL):
See also Primitive Data Types Manual (Classic).
Void pointers (data type DA_VOID):
Raw memory (data type DA_BYTEARRAY):
Vector objects (data type DA_VECTOR):
See also Vector Manual (Classic).
Matrix objects (data type DA_MATRIX):
See also Matrix Manual (Classic).
String objects and C4DUuid objects (data type DA_STRING):
See also String Manual (Classic).
Filename objects (data type DA_FILENAME):
See also Filename Manual.
C4DUuid objects: (data type DA_UUID):
BaseTime objects (data type DA_TIME):
See also BaseTime Manual.
Tristate (data type DA_TRISTATE):
See also TriState Manual.
BaseContainer objects (data type DA_CONTAINER):
See also BaseContainer Manual.
BaseLink objects (data type DA_ALIASLINK):
See also BaseLink Manual.
Custom data types:
The data of one GeData object can easily be copied to another object:
A GeData object can be cleared.
Two GeData objects can be compared with the usual operators:
A GeData object can be stored in a HyperFile: