JavaScript Application Programming Interface (API) for AutoCAD
|
Autodesk.AutoCAD.js
function Acad.Editor.getKeywords(options);
Parameters |
Description |
options |
is of type PromptKeywordOptions. |
PromptResult.
Use this function to get an user input for a keyword. It wraps the acedGetKword()ObjectARX function.
An AutoCAD user can enter the keyword from the keyboard. The list of keywords that GetKeywords() accepts is set by a prior call to GetInteger(). If the user enters a string not specified in the call to GetInteger(), AutoCAD displays an error message and retries (and redisplays prompt, if one was specified). If the user types only [Return], GetKeywords() returns an empty string ("") unless the call to GetInteger()also disallowed null input.
This function returns promise pattern result, it has to be call in Promise Pattern with .then(onsuccess, onError) function.
Copyright (c) 2016. All rights reserved.
|
What do you think about this topic? Send feedback!
|