Thank you Olivier, I will try it, and I think it will work :)
On Tue, Jan 10, 2012 at 3:03 PM, Olivier Burri <
[hidden email]>wrote:
> Dear Mohammed,
> To empty the ROI manager the code:
> manager.runCommand("Delete");
>
> Only works if there are ROIs in it. In your case, because there are none,
> it gives you this message.
>
> Technically what you want to do is reset the ROI manager, for this you can
> use:
> manager.runCommand("Reset");
>
> This will remove any ROIs previously present and will not prompt you if
> the ROI Manager is empty.
>
> Best
>
> Oli
>