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

Hull and Outfitting

Note and Position Number Components

  • Last UpdatedNov 24, 2023
  • 1 minute read

note_new(Text, RefLine)

The function creates a note component. The reference line is defined by a 2D polygon.

Input Parameters:

Text

string

The text of the note

RefLine

Polygon2D

The reference line

Returned value:

[0]

integer

Handle to the created note component

Exceptions:

kcs_DrawingNotCurrent

No drawing was current

kcs_ValueError

Invalid parameter value

kcs_SymbolError

The modal note symbol was not found

kcs_OwnerNotFound

No structural owner to the resulting note component could be derived

posno_new(Text, RefLine)

The function creates a position number component. The reference line is defined by a 2D polygon.

Input Parameters:

Text

string

The text of the position number

RefLine

Polygon2D

The reference line

Returned value:

[0]

integer

Handle to the created position number component

Exceptions:

kcs_DrawingNotCurrent

No drawing was current

kcs_ValueError

Invalid parameter value

kcs_SymbolError

The modal position number symbol was not found

kcs_OwnerNotFound

No structural owner to the resulting position number component could be derived

Example:

# Example: kcs_ex_draft10.py

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