You will need to use:
var pfo = new Autodesk.AutoCAD.EditorInput.PromptFileOptions(" message");
//add filter
var pfno = Application.DocumentManager.MdiActiveDocument.Editor.GetFileNameForOpen(pfo);
This is c# so you will need to transpose.
Domanda
how to use openfiledialog in auctocad using vb.net in a dll application for opening a file. Because no forms i used in the dll application. i am using imports autodesk.autocad.windows in the application.
Nessuna soluzione corretta
Altri suggerimenti
You will need to use:
var pfo = new Autodesk.AutoCAD.EditorInput.PromptFileOptions(" message");
//add filter
var pfno = Application.DocumentManager.MdiActiveDocument.Editor.GetFileNameForOpen(pfo);
This is c# so you will need to transpose.