Point.GetRawArray (method)


Point.GetRawArray array [, startElement [, endElement [, fromElement]]]


To retrieve an array points value directly into a Basic array bypassing Engineering Units Conversion.


There are several rules to keep in mind.

If the array is undimensioned, the array will be re-dimensioned to the same size as the point.

If the array is dimensioned smaller than the point, only that many elements will be copied into the array.

If the array is larger than the point, all elements of the point are copied, and the rest of the array is left as is.

If the startElement is specified, the function will start copying data into the array at this element and will continue until the end of the point is reached or the array is full whichever occurs first.

If the endElement is specified, the function will stop copying data into the array after populating this element or when the end of the point is reached.

If the fromElement is specified, the values copied into the array start at this element in the point array and continue as described above.






Array. A dimensioned or un-dimensioned Basic Array to which the point data will be copied.



Integer. (optional) The first array element to which data will be copied.



Integer. (optional) The last array element to which data will be copied.



Integer. (optional) The first point element from which data is to be copied.


sub main()

   Dim rawValues() as integer

   Dim p as new Point          ' Declare the point object

   p.Id ="ARRAY_POINT"        ' Set the Id

   p.Get                      ' Get value from CIMPLICITY

   p.GetRawArray rawValues     ' Copy the object into values

end sub

See Also

Point.GetArray (method); Point.SetRawArray (method); Point.HasEuConv (property/read); Point.Value (property, read/write); Point.RawValue (property, read/write).

More information

CIMPLICITY Extensions to Basic