When use the function Editor.WriteMessage() in a for loop,the message can't be displayed immediately.And all messages were listed at the same time till the CAD command finished.
Like this:
for (int i = 0; i < tps.Count; i++)
{
......
ed..WriteMessage("\nCalculating {0}...", tp.pointNo);
}
Does Editor class has any method to show the message immediately?