使用分割视图更新模型空间
Regen()和UpdateScreen()似乎不适用于模型空间中的拆分视图。似乎只有当前/激活的视图会重新生成/更新。有人知道如何让其他人也重生/更新吗?**** Hidden Message ***** 这是Tony Tanzillo在2008年AUtodesk论坛上的一篇文章:Document doc=Application.DocumentManager.MdiActiveDocument;。
对象oAcadDoc=doc.AcadDocument;。
oAcadDoc.GetType(),调用成员("Regen",BindingFlags.InvokeMethod,null,oAcadDoc,新对象[]{1 } );。
。
谢谢! 使用COM而不是新的。网曝编辑。命令()和编辑器。CommandAsync()(版本相关,I 'spose)?
http://through-the-interface . typepad . com/through _ the _ interface/2014/03/AutoCAD-2015-calling-commands . html
[编辑] -还有这个最近的线程,由Gile:
干杯 只有当我运行2015 lol
这是我缺少的一点关键信息(也许我忽略了它)。
干杯
页:
[1]