copyRangeTo 7 X) w; c! ]: ~; O9 [" w
Usage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
' Y6 {8 c3 Q1 @5 r* K( H& M ~; W$ \: ]* l2 b0 ^, F& L
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
# U5 `& O' l2 v( U
2 X8 {7 z& E0 o0 n5 s8 o' f) R+ Y5 R& H
The argument listrange designates the range to be copied.
( g7 ?$ h' B) J) }8 @9 M/ T0 ] R1 ?( W3 k+ e
The argument of data type object designates the target table.
" O/ A0 j+ @6 Y
$ M5 C8 W/ S% A% L# r, nThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range. . g7 L' O6 u) F: x+ B# h1 l/ a
, u% W5 R. A; ^/ U5 EThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. ; s1 z) f2 x, z2 O
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |