AutoCAD MAP loads a some AEC modules when initialising.
I want to send my .NET Init message to the commandline after these AEC loading prompts
I tried waiting for Application.Idle(QuiescentState) without any luck.
Go to Solution.
Timing operations at startup is always tricky. You could try P/Invokignads_queueexpr (see example here - http://through-the-interface.typepad.com/through_the_interface/2006/08/calling_command.html). You could also user a timer to delay your message, although I'm not so keen on doing that.
But consider the 'arms race' that ensues when you and another add-in both want to send your init messages last - i.e. there's really no way AutoCAD can ensure any single addin gets to report itself last.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register
Start with some of our most frequented solutions to get help installing your software.