copyRangeTo
# j$ ~0 ~) ^$ p3 e' Z$ cUsage: <path>.copyRangeTo(<listrange>,<object>,<integer1>,<integer2>); + [, x8 {# ?% y v# A
: C0 z0 B4 t) G8 {! v$ ^, v3 w0 b
The method copyRangeTo copies the designated range of the source table designated by <path> into the target table.
8 q/ X; S/ I( w$ x4 } p$ q a3 S5 u1 f
9 V( }5 I; H# E4 W+ H* S
The argument listrange designates the range to be copied.
% Z- M ]+ x* z; Y- a2 e& P( I* f# r+ p! D. e
The argument of data type object designates the target table.
$ `9 T) w, H: D$ M) c
% n4 ^( [. ]& C' d/ z" cThe argument integer1 designates the column in the target table, where Plant Simulation inserts the copied range.
! l5 c- c! e/ y% m% m5 |
( Y3 W- N7 _& p+ q b$ q8 _6 cThe argument integer2 designates the row in the target table, where Plant Simulation inserts the copied range. ( E3 a) Z! e6 L F
Example: tableA.copyRangeTo({2,2}..{*,*}, tableB, 1,1); |