T O P I C R E V I E W |
shyamigcar |
Posted - 05/16/2013 : 09:39:21 AM How to insert the x and Y values of the data reader into the worksheet column. |
1 L A T E S T R E P L I E S (Newest First) |
greg |
Posted - 05/20/2013 : 09:44:36 AM You can run the Data Reader tools from script and program the PointProc macro to do whatever you want.
This example copies selected X and Y points to Book3, Sheet2, columns A and B:
dotool 3; def pointproc { range rax2 = [Book3]Sheet2!A; range ray2 = [Book3]Sheet2!B; nextrow = rax2.GetSize() + 1; rax2[nextrow] = x; // x = current x of tool ray2[nextrow] = y; // y = current y of tool }
The PointProc macro executes whenever you double-click a point or select a point and press the Enter key. Press Esc to exit the tool.
|
|
|