Hi Mario,
Unfortunately I doubt there is a way to do so ... Inventor API is single threaded so if performing an action hangs Inventor there is hardly any way to cancel it.
Regards,
Philippe.
Hey Philippe,
I think about a timer
as example but i dosent now how exactly i can create a timer in this situation
==> Timer Start / Limit 10min
==> Load Document
==> when over 10min TaskKill Inventor.exe
any Hints or Tips for me Please
thx
Mario
Well if you want to use that approach, you would need to use an external exe that starts Inventor (or connects to a running instance), start a timer before opening a document, listen to some events, eg OnOpenDocument(kAfter) then kill Inventor.exe if it times up.
You should be able to find easily examples on the web on how to kill a process programmatically.
I hope it helps.