.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Jig not working correct

0 REPLIES 0
Reply
Message 1 of 1
Anonymous
225 Views, 0 Replies

Jig not working correct

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.
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report