copyRangeTo 7 Y6 R0 {5 W& o- d
Usage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
& g4 F9 Q" i1 k2 x# |1 l; m& @
, Q) h) Z6 \% D8 V! `4 zThe method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
# i5 k r- c2 m @ k7 w8 P
$ O9 d m: F& Q1 F3 e: b/ r
: l; e0 ~# v( g* W; p$ p, PThe argument listrange designates the range to be copied.
& D: |' H6 y) {1 e3 S, |5 y1 R( f$ u9 [; W! O% z e9 n
The argument of data type object designates the target table.
6 V# U( F9 c2 _, r) O7 a+ E9 p! K3 i1 l- G3 a8 R9 z3 F
The argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range.
! `" U5 f" U2 ~- {% h/ n+ Q
/ Q. X: f/ x8 J9 w( j: PThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. 1 C; F. g( D6 m* b5 I- d8 P( F
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |