copyRangeTo
D& T, m) b6 ^- o0 q m1 k' y/ RUsage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
9 R% Y4 {# ~2 Z8 p" h8 E) l# p7 J4 K" r6 Z; j! u% c- _' a
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table. 9 v5 Q$ R6 ~1 C- [3 y2 `* o' k
3 t. N, T# E! t [+ E2 F) r; f$ g, [1 f; t4 H
The argument listrange designates the range to be copied.& M6 |& ^" o& w+ Y% Y
r- w+ X8 ]* \5 H+ y3 y9 aThe argument of data type object designates the target table.
; r* R& W& ]5 U2 h$ V7 R% Z) I
4 m3 w# S" ^8 i+ d' ^0 qThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range. 1 {0 O! J* M2 c& {) q) N" n7 ]
6 \) r M6 u2 d0 g% v8 N, ~# F
The argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. & J, V1 a F$ f: f# S
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |