create_text#

Modeler3DLayout.create_text(text, position, layer='PostProcessing', angle=0, font_size=12)[source]#

Create a text primitive object.

Parameters:
textstr

Name for the text primitive object.

positionlist

Position of the text.

layerstr, optional

Layer where text will be placed. The default value is "PostProcessing".

anglefloat, optional

Angle of the text. The default value is 0.

font_sizeint, optional

Font size. The default value is 12.

Returns:
str

Name of the text primitive.