0

如何在 auctocad 中使用 openfiledialog 在 dll 应用程序中使用 vb.net 打开文件。因为我在 dll 应用程序中没有使用任何表单。我在应用程序中使用导入 autodesk.autocad.windows。

4

1 回答 1

0

您将需要使用:

var pfo = new Autodesk.AutoCAD.EditorInput.PromptFileOptions(" message");

//add filter

var pfno = Application.DocumentManager.MdiActiveDocument.Editor.GetFileNameForOpen(pfo);

这是 c#,所以你需要转置。

于 2014-03-04T13:40:11.483 回答