.NET

Reply
Valued Contributor
pavlos.katsonis
Posts: 67
Registered: ‎09-12-2006
Message 1 of 1 (55 Views)

Jig not working correct

55 Views, 0 Replies
10-24-2006 01:59 PM
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.
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!