NXOpen.UF.Text.CopyNchars

Text.CopyNchars()

Refer to UF_TEXT_copy_nchars for documentation.

Signature: CopyNchars(inputBuffer, outputBufferLength, nchars)

Parameters:
  • inputBuffer (str) – The string to look at
  • outputBufferLength (int) – The maximum number of bytes allowed inthe output string including the trailing NULL.
  • nchars (int) – The maximum number of characters allowedin the output string
Returns:

The copied string

Return type:

list of str

License requirements: None