Acad.PromptEntityResult Function
File
Autodesk.AutoCAD.js
Syntax
JavaScript
function Acad.PromptEntityResult(retcode, stringResult, objectId, point);
Group
Parameters
Parameter | 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. |
Returns
PromptEntityResult
Description
This class holds the result of a prompt that returns an entity as its primary result. This function is derived from Acad.PromptResults.
Properties
Name | Type | Description | Condition |
---|---|---|---|
objectId | integer | Gets the entity that you picked. | Read-only |
pickedPoint | Acad.Point3d | Gets the point that was used to pick the entity. | Read-only |
Exception
Throws a TypeError
object.