Share

Editor.GetEntity(PromptEntityOptions) 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(
    options As PromptEntityOptions
) As PromptEntityResult

C#

public PromptEntityResult GetEntity(
    PromptEntityOptions options
);

Parameters

Parameters Description
PromptEntityOptions options Input optional parameters of the prompt.

Links

Editor Class, Autodesk.AutoCAD.EditorInput Namespace

Was this information helpful?