Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 auctocad 中使用 openfiledialog 在 dll 应用程序中使用 vb.net 打开文件。因为我在 dll 应用程序中没有使用任何表单。我在应用程序中使用导入 autodesk.autocad.windows。
您将需要使用:
var pfo = new Autodesk.AutoCAD.EditorInput.PromptFileOptions(" message"); //add filter var pfno = Application.DocumentManager.MdiActiveDocument.Editor.GetFileNameForOpen(pfo);
这是 c#,所以你需要转置。