JavaScript Application Programming Interface (API) for AutoCAD
ContentsIndexHome
PreviousUpNext
Acad.PromptEntityResult Function

Autodesk.AutoCAD.js

JavaScript
function Acad.PromptEntityResult(retcode,stringResult,objectId,point);
Parameters 
Description 
retcode 
The status result of the prompt operation. 
stringResult 
The optional string result of the prompt operation. 
objectId 
The entity that the user picked. 
point 
The point that was used to pick the entity. 

This class holds the result of a prompt that returns an entity as its primary result. This function is derived from Acad.PromptResults.

Links
Properties
Name 
Type 
Description 
Condition 
objectId 
Integer 
Gets the entity that you picked. 
Read-only 
pickedPoint 
Gets the point that was used to pick the entity. 
Read-only 
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!