Share

Acad.PromptStringOptions Function

File

Autodesk.AutoCAD.js

Syntax

JavaScript

function Acad.PromptStringOptions(messageAndKeywords);

Group

ACAD Namespace

Parameters

Parameter Description
messageAndKeywords is the prompt message along with Keywords.

Returns

PromptStringOptions

Description

This class represents optional parameters for a prompt for string.

Properties

Name Type Description Condition
allowSpaces boolean Gets or sets whether the prompt should allow spaces. Read-write
defaultValue string The default value to be used when the you press Enter without any other input. Read-write
usedefaultValue boolean Gets or sets whether the prompt should use the default value when you press Enter without any other input. The property that allows client code to set the default value is declared by derived classes. Read-write

Exception

Throws a TypeError object.

ACAD Namespace

Was this information helpful?