- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi @Damian_Apex. Of the two different Execute methods (Execute & Execute2), Execute2 offers more control (synchronous or asynchronous execution). But I doubt either option will help here. There is not a really good option in simple iLogic terms to make it intelligently wait for you to be done with placing the component, before resuming. There are some general vb.net methods out there (Process.WaitForExit, Task.Wait, Thread.Sleep, etc.), but I don't know of a specific one that would work in this situation as you are wanting it to (without a ton of extra code). Why don't you just use one of the normal API methods (such as the ones defined under the ComponentOccurrences object) to add the component to the assembly, instead of executing the command for the manual process? That would eliminate the need to pause the code.
Wesley Crihfield
(Not an Autodesk Employee)