$M=$(getvar,clayer) should work.
Conny
"Jerome Mayeur" skrev i meddelandet
news:3CECF9E5.5A25712A@mobiletel.com...
> [CURRENT]^C^CSELECT AU \CHPROP P ;LAYER $(getvar,clayer) layer \;
>
> Can anyone help with this command. I'm try to change the layer from
> it existing layer to the current layer.
>
> Thanks
> Jerome