copyRangeTo
9 l8 V4 _2 E2 r6 {/ s" V$ jUsage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
) {- Z5 o/ b3 \* b. x+ o+ r- \# i! ?8 g/ _9 e( A& V) F3 @; b
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
" y: g: r+ Y1 K5 S5 j! q$ a
. Z) D8 ^; s) U1 i& ^9 l/ C) t/ v2 ^ X; l) e o: X2 Q' c0 Y
The argument listrange designates the range to be copied.
# O' U4 b/ m. R! P8 K+ u. }0 K/ _ Z" Q4 T* I5 T
The argument of data type object designates the target table.
+ M/ @2 t6 J. m7 v6 k* Q( }6 m1 L6 S% r# G* H. s* L
The argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range.
% y G% G) i" a/ w; Y' n9 H
. f$ F1 ^0 ^) ?5 T, z8 Q3 WThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. 3 K5 k' A( F H
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |