level lock does not applies shared cells

Hi all,

I have a key-in script to select all elements on a locked level and then calculate the length of the selected elements:

fit view extended;lock level on;active level = ln_piling;choose all;measure length;xy=0,0;lock level off

When I run this key-in it is not only selecting all the elements on the locked level [ln_piling] but it also selects shared cells on a totally different level. When I drop the shared cells to normal cells everything works fine. Test file available via e-mail request.

Is this a bug or is something wrong with my key-in script.

MS:08.11.09.654 / Inroads 08.11.09.788

Jean Castro