ahlzl发表于2005-12-19 22:38:00// 刷新屏幕actrTransactionManager->flushGraphics();acedUpdateDisplay();
非常感谢,已经实现了所需要的效果。
下面是从ObjectARX Reference上抄下来的说明:
virtual void
flushGraphics() = 0;
Flushes the graphics queue to the display.
Normally an entity's graphics are not updated until the entity's changes are committed. In the transaction environment this doesn't occur until the outermost transaction (or, if there are no nested transactions, then the single transaction itself) is ended, so the graphics for all entities in the transactions are not updated until the outermost transaction ends. If a graphics update is desired before the outermost transaction is ended, then the queueForGraphicsFlush() function should be called to queue up all changes made so far followed by a flushGraphics() call to flush all graphics currently queued up out to the display. |