Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Hull and Outfitting

Message Functions

  • Last UpdatedJan 07, 2026
  • 2 minute read

answer_req(Title, Question)

The function presents a box with a question and lets the user give the answer.

Input parameters:

Title

string

The title of the box (max 132 characters)

string

The question (max 512 characters)

Question

Returned value:

[0]

integer

User Response

Exceptions:

kcs_ValueError

Invalid parameter value

message_confirm(Message)

The function presents a box with a message and lets the user confirm it.

Input parameters:

Message

string

The message to the user (max 512 characters)

Returned value:

None

Exceptions:

kcs_ValueError

Invalid parameter value

Figure 3:1. Example of a message that has to be confirmed.

message_noconfirm(Message)

The function presents a message to the user without confirmation.

Input parameters

Message

string

The message to the user (max 512 characters)

Returned value

None

Exceptions

kcs_ValueError

Invalid parameter value

Example:

# Example: kcs_ex_ui2.py

message_debug (Message, <Color>,<Bold>,<Underline>)

The function displays a message in the Vitesse Log Window

Input Parameters:

Object

Message

String representation of given python object will be send to log window.

Integer or Tuple

<Color>

Text colour. The parameter can be defined as integer colour value or tuple representing (R, G, B) values.

Integer

<Bold>

Bold text. When parameter is different then 0 the text is displayed using bold font.

Integer

<Underline>

Underline text. When parameter is different then 0 the text is displayed with underline.

Returned value:

None

Exceptions:

None

Related Links
TitleResults for “How to create a CRG?”Also Available in