Share

Editor.GetEntity(string) Method

Description

Prompts the user to select an entity by specifying a point.

Pauses for user input and returns both an entity name and the point that is used to select the entity.

GetEntity() does not return the names of nongraphical objects.

Visual Basic

Public Function GetEntity(
    message As string
) As PromptEntityResult

C#

public PromptEntityResult GetEntity(
    string message
);

Parameters

Parameters Description
string message Input prompt message

Links

Editor Class, Autodesk.AutoCAD.EditorInput Namespace

Was this information helpful?