Frage

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.

Keine korrekte Lösung

Andere Tipps

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top