NXOpen.UF.Drf.GetTextBars¶
-
Drf.
GetTextBars
()¶ Refer to UF_DRF_get_text_bars for documentation.
Signature:
GetTextBars(segmentNumber, annData)
Parameters: - segmentNumber (int) – The text segment number to work on.
- annData (int) – The data defining the drafting object. See UF_DRF_ask_ann_data.
Returns: A Tuple
Return type: A tuple consisting of (numberOfBars,barType,offsetToBar,barPosition)
numberOfBars(int): The number of text bars in this drafting object.
barType(int): An array of types of text bars, one for each text bar. 1 = Under line 2 = Over line
offsetToBar(int): An array of offsets to the text in the string where the bar text ends.
barPosition(list of float): An array of positions for the text bar. There are four elements for each text bar, the X, Y of the start of the text bar, and the X, Y of the end of the bar.
License requirements: DRAFTING