copyRangeTo
' Z! q$ K; N9 c: b3 Q4 g7 O, [Usage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
2 _6 e6 G# d! \* Y* T; P3 j1 Z9 h7 L6 B. u# Q2 L- I. M
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table. 7 l! L9 ~$ ~9 M* D2 b) I; N! Q* ~# a, E
* R; h( u, t; q- |0 X# O( t/ _8 i9 |
The argument listrange designates the range to be copied.
! J7 [$ ] ?: P, s, \7 U- f8 h' |* [# V% q W
The argument of data type object designates the target table.
* s6 V6 G4 f0 e i3 E. ?
5 @9 F0 U- ?% ?- WThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range. 7 N8 J O+ \. K, {, K' Y, Q
3 R) H( H0 Y2 E; F0 I
The argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. % u; l; k, z$ C$ Q3 ^$ X/ a
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |