Share

Editor.GetFileNameForOpen(string) Method

Description

This method emulates the subtleties of AutoCAD file prompting. It properly prompts on the command line when FILEDIA is zero, or if a script or an AutoLISP routine is running.

Visual Basic

Public Function GetFileNameForOpen(
    message As string
) As PromptFileNameResult

C#

public PromptFileNameResult GetFileNameForOpen(
    string message
);

Parameters

Parameters Description
string message Input prompt string

Links

Editor Class, Autodesk.AutoCAD.EditorInput Namespace

Was this information helpful?