I have written some commands that enter special dimensions.
They are defined as public static void and use classes inherited from the EntityJig.
When they are issued from the command line, or from a toolbar I have created, or even from the menu, everything works fine (the jig is shown fine).
The problem occurs when I try to execute them from a button on a toolpalette I have created. When I press the button, I have to manually click on the AutoCAD window to active the entitypick cursor and even though the command works correctly, the entityjig is not shown (only some flashes of it are visible).
Is there anything I should do at the beginning of the command like returning focus to the editor or something?
Thanks in advance.