Next: , Previous: CADAcceptDXF, Up: CAD areas and methods


6.8 CADAddArray

CADAddArray stores a copy of a 4D array inside a drawing.

IO Parameter Type Description
in theCADArea longint Area ID
in theArrayMinID longint See Arrays and Keys. Pass the minimum desired array ID or 0 to get the first free array ID
out theArrayResultID longint See Arrays
in theArray array Any 4D one- or two-dimensional array, except arrays of pointer
out function result OSErr Error result code, also see Error handling

Remarks
The purpose is to store custom data in 4D CAD drawings, see Arrays and Keys.

Related methods
CADGetArray, CADSetArray, CADRemoveArray and CADGetArrayIDs.