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

Hull and Outfitting

General Properties

  • Last UpdatedNov 24, 2023
  • 1 minute read

colour_set(ModalColour)

The function sets the modal colour for ordinary geometry.

Input Parameters:

ModalColour

Colour

The colour

Returned value:

None

Exceptions:

kcs_ColourInvalid

Invalid colour

colour_get(ModalColour)

The function gets the modal colour.

Output Parameters:

ModalColour

Colour

The colour

Returned value:

[0]

Colour

The colour

Exceptions:

None

linetype_display_settings_get()

The function returns the line type display settings.

Input Parameters:

None.

Returned value:

[0]

LineTypeDisplaySettings

The current line type display settings - instance of KcsLineTypeDisplaySettings.LineTypeDisplaySettings class.

Exceptions:

kcs_ArgumentError

Invalid arguments list.

linetype_display_settings_set (modelLTDSettings)

The function sets the line type display settings.

Input Parameters:

ModalLTDSettings

LineTypeDisplaySettings

Instance of KcsLineTypeDisplaySettings.LineTypeDisplaySettings class

Returned value:

None.

Exceptions:

kcs_ArgumentError

Invalid parameter type

linetype_set(ModalLinetype)

The function sets the modal line type.

Input Parameters:

ModalLinetype

Linetype

The line type.

Returned value:

None

Exceptions:

kcs_LinetypeInvalid

Invalid line type

linetype_get(ModalLinetype)

The function gets the modal line type.

Output Parameters:

ModalLinetype

Linetype

The line type

Returned value:

[0]

Linetype

The line type

Exceptions:

None

layer_set(Layer)

The function sets the modal layer.

Input Parameters:

Layer

integer

The layer

Returned value:

None

Exceptions:

Kcs_ArgumentError

Invalid arguments list.

layer_get()

The function gets the modal layer.

Input Parameters:

None

Returned value:

[0]

integer

The layer

Exceptions:

None

Example:

# Example: kcs_ex_draft2.py

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