| T O P I C R E V I E W |
| kmcelroy |
Posted - 03/30/2005 : 6:38:17 PM Origin Version (Select Help-->About Origin): 7 SR4 Operating System: XP
I want to be able to mask one point at a time instead of a range. Here is my script, which works if two different points are selected, but will not mask anything if the same point is selected twice.
def EndToolBox { mks1 = _indx[1]; mks2 = _indx[2]; mark -w1 %C; }; getpts 2; |
| 2 L A T E S T R E P L I E S (Newest First) |
| greg |
Posted - 04/01/2005 : 4:24:00 PM Not sure what your goal is ...
Here is a script that lets you double-click all day and will toggle the mask value of the selected point :
dotool 3; // dotool -d; def pointproc { maskval = %C<index>; if(maskval==1) %C<index> = 0; else %C<index> = 1; }
Press Esc or click the Pointer tool when you are done. If you uncomment the "dotool -d;" then the script will act on single-clicks.
|
| kmcelroy |
Posted - 03/31/2005 : 2:05:39 PM Here's a workaround that I found, but if anyone has another solution, let me know. Basically, I click on the one point I want to mask, but three points are masked and two points are immediated unmasked, leaving the one point I wanted masked.
def EndToolBox { mks1 = _indx[1]; mks2 = _indx[1]+2; mark -w1 %C; mks1 = _indx[1]+1; mark -wd %C; }; getpts 1; |