Issue on attempt to control WindowState of Active View with iLogic

Issue on attempt to control WindowState of Active View with iLogic

Maxim-CADman77
Advisor Advisor
100 Views
0 Replies
Message 1 of 1

Issue on attempt to control WindowState of Active View with iLogic

Maxim-CADman77
Advisor
Advisor

I'm playing around with some iLogic code related to WindowState of Active View

I want to minimize and then set the initial WS value.

The code below seems to have no the impact I expect

 

Dim oAV As View = ThisApplication.ActiveView
oAV.WindowState = WindowsSizeEnum.kMinimize
Threading.Thread.Sleep(3333)
oAV.WindowState = WindowsSizeEnum.kMaximize

 

If I execute only first two lines I'm getting Active View minimized but Inventor became unusable (to get it working I need to interrupt current session with windows task manager and start new session).

 

What I'm missing?

Maybe iLogic is not compatible with Active View minimized?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
101 Views
0 Replies
Replies (0)