NXOpen.UF.Drf.CreTextBlock

Drf.CreTextBlock()

Refer to UF_DRF_cre_text_block for documentation.

Signature: CreTextBlock(entityId, textType, textOrigin, numberLines, textArray)

Parameters:
  • entityId (int) – Object identifier of the drafting aid to add text to
  • textType (int) – The type of the text to add. 6 = Appended text 17 = Form and positional tolerance text
  • textOrigin (list of float) – X and Y coordinates of the origin of the text string.
  • numberLines (int) – The number of lines to add to the drafting aid.
  • textArray (list of str) – number_linesAn array of the text strings to add.

License requirements: DRAFTING