copyRangeTo
; U# |/ _. b7 a6 s1 kUsage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>);
% w9 U8 k" w1 q# q1 p9 u0 a+ ]* X2 G- f. t3 g- H. i7 K
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
6 p* `; U& k( [% ~: w
* _5 n& M/ r! u5 [! b4 m3 j2 u B, r. U. {
The argument listrange designates the range to be copied.3 F7 ^# m7 k8 |9 Q) S) S+ Z
# c; y" W- ~" k8 P2 d. s' u4 }3 }The argument of data type object designates the target table.: e, e, a, X' o* V5 H4 G. H
( E3 a, Y0 {0 q2 b# C7 ZThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range. ' c1 A6 v3 u& J8 F
) T" F8 C/ O+ I4 V2 xThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. ( K# P+ B" }$ J9 O4 ^8 v3 S
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |