Ilogic Drawing Update

Ilogic Drawing Update

Anonymous
Not applicable
631 Views
2 Replies
Message 1 of 3

Ilogic Drawing Update

Anonymous
Not applicable

I have an issue which is most confusing.

 

Using Ilogic to update a drawing view visibility, scale and arrange dimensions the total time of the task takes about 2 seconds on my machine. However on a colleagues machine when the drawing updates the task takes up to 2 minutes. The machines are identical.

 

BUT........if during the drawing update on his machine the mouse is "wiggled" without any buttons being pressed it instantly updates the drawing as it should.

 

So just moving the mouse pointer (when it shows a waiting spinning circle) fixes the problem!!!!!!

 

Has anyone any ideas?

 

 

0 Likes
632 Views
2 Replies
Replies (2)
Message 2 of 3

NSBowser
Advocate
Advocate

It sounds like the program just isn't realizing that the process has completed.

 

Does your code include an 'Update' or 'UpdateWhenDone' operation?

 

Also, try adding a messagebox to the end of the code block with a notification the process has completed.

see when this notification appears in comparison to when it wasn't there.

 

If there is a substantial difference, you might try adding a return/exit sub call at the end of the ilogic code. This may require you enclose the whole code in a 'Sub Main() ...  ... End Sub'

 

Either way I don't know of any reason you should be getting this behavior, but without a sample of the code in question the best I can do is toss some darts.


Best of Luck

---------------------------------------------------------------------------------------------------------------------------------
If you find this reply helpful or insightful, please use the 'Accept as Solution' or 'Kudos' button below.
0 Likes
Message 3 of 3

wayne.brill
Collaborator
Collaborator

Hi,

 

Not sure if it will help but another thing to try is to set UserInterfaceManager.UserInteractionDisabled Property to true.

http://adndevblog.typepad.com/manufacturing/2013/07/setting-userinteractiondisabled-to-true-can-impr...

 

(Set it back to false at the end).

 

Thanks,

Wayne



Wayne Brill
Developer Technical Services
Autodesk Developer Network

0 Likes