text#
- class ansys.api.pyensight.ensight_api.text(session: Session)#
Class wrapper for EnSight text module
This class acts as a proxy for the EnSight Python module ensight.text
Methods
text.change_text
(p0)Replaces the currently selected annotation text.
text.code
(p0)Text: code
text.color
(p0)Text: color
Deletes the currently selected text in the graphics window.
text.description
(p0)Text: description
This command has not yet been documented.
Specifies the placement of the selected text in the graphics window, in relation to the point specified in the text: location_x and location_y commands.
text.location_x
(p0)Specifies the x/y coordinate of the selected text in the currently selected viewport.
text.location_y
(p0)Specifies the x/y coordinate of the selected text in the currently selected viewport.
text.mix_rgb
(p0, p1, p2, p3)Text: mix_rgb
Delimit the modifications for text attributes.
Delimit the modifications for text attributes.
This command has not yet been documented.
text.new_text
(p0)Creates new text in the graphics window.
text.origin
(p0, p1, p2)Text: origin
text.origin_by
(p0)Text: origin_by
Text: origin_frame
text.query_count
(args)Text: query_count
Text: query_display_attributes
Text: query_selected_objects
text.query_text
(args)Text: query_text
text.relative_to
(p0)This command has not yet been documented.
Specifies the viewport to which location of the selected text will be relative, when specified by the text: location_x and location_y commands.
text.rgb
(p0, p1, p2)Specifies the RGB color value of the selected text in the graphics window.
Specifies the angle of rotation of the selected text in the graphics window.
Text: select_all
This command has not yet been documented.
This command has not yet been documented.
text.select_begin
(*args, **kwargs)Selects one or more text strings in the graphics window as the target for future text: commands
Causes any following text commands to affect the default settings, rather than a particular text object.
Text: shadow_intensity
Text: shadow_offset
text.size
(p0)Specifies the size of the selected text in the graphics window.
text.string
(p0)Text: string
Text: update
text.visible
(p0)Controls the visibility of the selected text in the graphics window.