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

Autodesk.AutoCAD.js

JavaScript
function Acad.PromptOptions.setMessageAndKeywords(messageAndKeywords,globalKeywords );
Parameters 
Description 
messageAndKeywords 
is the prompt message along with keywords 
globalKeywords 
is a string that contains global keywords separated by spaces 

Use this method to set the prompt message to the first part of the messageAndKeywords string and set the display keywords to the latter part of the same string. The display keywords portion of messageAndKeywords must be surrounded by an opening square bracket ("[") at the beginning and a closing square bracket ("]") at the end. The keywords in this list must be delimited by a forward slash character ("/"). Each display keyword specified in messageAndKeywords must also be matched by a keyword in the same position in the globalKeywords string.

Links
Copyright (c) 2016. All rights reserved.
What do you think about this topic? Send feedback!