Hi Sebastian
I was able to manipulate the dialogue like this
%set gEditBrush(1,cloneSource) 1
%set gEditBrush(1,mode) 1
Try a combination of 0 or 1 for the last argument. And spaces ( or lack of them ) are absolutely important. Don't leave any space in gEditBrush(1,mode)
The first argument of gEditBrush denotes the brush. 0 means Brush 2 and 1 means Brush 3. Let us know if it works
-Krish
On Jul 28, 2010, at 3:22 PM, Sebastian Moeller wrote:
Aloha fellow surfers,
I am trying to script a few steps of my freesurfer pipeline. At the moment I am facing the problem that all my brainmasks need some manual intervention. Following advice from the wiki I try to set up tkmedit to clone from the aux to the main volume on the pressing button 3. Now my question how do I configure Button 3 from a tcl script so that my users do not have to do this manually every time? I would expect something like SetBrushInfo that takes more arguments than just brush, low, high, new, but my tcl-foo is very weak. If someone has a pointer how to set Button 3 to clone from aux vol I would be happy to hear it. Thanks in advance.
Best Sebastian
-- Sebastian Moeller
telephone: 626-395-6713 fax: 626-395-8826 German GSM: 0 15 77 - 1 90 31 41 moeller@caltech.edu
Division of Biology MC 114-96 California Institute of Technology 1200 East California Boulevard CA 91125, Pasadena USA
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer