On Mar 9, 2011, at 12:31 PM, Elaine Meng wrote:

Hi Francesco,
Well, it's not really a trick, you can just use the "serialNumber" attribute like other attributes in the command line, for example:

select @/serialNumber=19
sel @/serialNumber>12 and serialNumber<16

If you will be doing many commands with serial numbers, you can reduce the strain on your fingers with the "alias" command, e.g.:

alias sn @/serialNumber

then the two commands Elaine gave would be:

select sn = 19
sel sn > 12 & sn < 16

Note that alias is a simple textual substitution and that therefore there have to be spaces around the "sn" (e.g. "sn > 12" rather than "sn>12").

--Eric

                        Eric Pettersen

                        UCSF Computer Graphics Lab

                        http://www.cgl.ucsf.edu