PromptMessage Object
Description
PromptMessage object.
Methods
Delete |
Method that deletes this prompt message. This is applicable for custom prompt messages. |
Display |
Method that displays this prompt message. This is applicable for custom prompt messages. |
Properties
Application |
Gets the root Application object. Where the property is weakly-typed, it can be set to (QueryInterfaced for) 'Application' when running with Inventor whereas, 'ApprenticeServer' when running with the Apprentice Server. |
BuiltIn |
Read-only property that returns whether the prompt message is built-in or not. |
Buttons |
Read-only property that returns the buttons that are used for the prompt message. |
DefaultAnswer |
Read-write property that gets and sets the default response for the prompt message. |
DisplayedPromptText |
Read-only property that returns the displayed prompt text of the prompt message. |
Icon |
Read-only property that returns the icon type of the prompt message. Values that can be used: vbCritical(16), vbExclamation(48), vbInformation(64), vbQuestion(32). |
Id |
Read-only property that returns the Id of the prompt message. |
PromptText |
Read-only property that returns the prompt text of the prompt message. |
Restrictions |
Read-write property that gets and sets the restrictions for the prompt. |
Title |
Read-only property that returns the title of the prompt message. |
Type |
Gets the constant that indicates the type of this object. |
Accessed From
PromptMessages.Add,
PromptMessages.Item
Samples
Version
Introduced in version 2025.1