Point.SetValue (property, write)

Syntax Point.SetValue = a
Description To set the point's value in a CIMPLICITY project. This operation combines the Value and Set operations into one command. The SetValue method uses Engineering Units Conversion and cannot be used to set elements of an array point.
Example
' Ramp tank level from 0 to 100 in steps of five, with a delay
' on 100ms between each set.
sub main()
??????Dim MyPoint as new Point??????????????'Declare the point object
??????MyPoint.Id = "TANK_LEVEL"????????????'Set the Id
??????for I = 0 to 100 step 5????????????????'Loop in steps of 5
????????????MyPoint.SetValue = I????????????????'Set and write value to CIMPLICITY
????????????Sleep 100??????????????????????????????????????'Sleep 100ms
??????next I??????????????????????????????????????????????????'Loop
end sub