Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have the below code:
[CommandMethod(nameof(ConsecutiveCommand))]
public void ConsecutiveCommand()
{
Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument
.Editor.Command("_AeccAddNetworkPipeTable");
Autodesk.AutoCAD.ApplicationServices.Core.Application.DocumentManager.MdiActiveDocument
.Editor.Command("_AeccAddNetworkStructTable");
}
I want the first command to finish executing before execute the second one. But then, it seems that only the first one is executed but not the second one.
Both of the commands involve user actions, like depending on user input to place the table. I'm not sure whether this is what causing the second command to be "overlooked".
Any ideas?
##########
Ngu Soon Hui
##########
I'm the Benevolent Dictator for Life for MiTS Software. Read more here
I also setup Civil WHIZ in order to share what I learnt about Civil 3D
Ngu Soon Hui
##########
I'm the Benevolent Dictator for Life for MiTS Software. Read more here
I also setup Civil WHIZ in order to share what I learnt about Civil 3D
Solved! Go to Solution.