copyRangeTo
% X% Q" C4 Y% y. h' A- {: NUsage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
- g( s5 v; [8 L- ^4 B3 ~2 \ _2 ^& T
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table. . @) f; Z! _- W& M% m( O0 Q# s
( N1 Q6 w0 T( D+ n" _* _7 x! D, l5 f
9 `# L2 e! [0 g/ L
The argument listrange designates the range to be copied.
8 o7 I% \9 }5 f% H, x5 ?9 J/ p4 E, X, H5 ?( W
The argument of data type object designates the target table.
5 `0 F/ e* T. q" h! ]
$ }" ^3 }, w C; U" o& UThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range. $ U$ H) i' S- z }4 l
- o* a% D: W I+ M' ZThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range.
+ E% P# o; H8 e4 U, E# `1 ]2 H+ H8 _Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |