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

text.delete()

Deletes the currently selected text in the graphics window.

text.description(p0)

Text: description

text.deselect_all()

This command has not yet been documented.

text.justification(p0)

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

text.modify_begin()

Delimit the modifications for text attributes.

text.modify_end()

Delimit the modifications for text attributes.

text.new_or_mod_text(p0)

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(p0)

Text: origin_frame

text.query_count(args)

Text: query_count

text.query_display_attributes(args)

Text: query_display_attributes

text.query_selected_objects(args)

Text: query_selected_objects

text.query_text(args)

Text: query_text

text.relative_to(p0)

This command has not yet been documented.

text.relative_viewport(p0)

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.

text.rotational_angle(p0)

Specifies the angle of rotation of the selected text in the graphics window.

text.select_all()

Text: select_all

text.select_all_invisible()

This command has not yet been documented.

text.select_all_visible()

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

text.select_default()

Causes any following text commands to affect the default settings, rather than a particular text object.

text.shadow_intensity(p0)

Text: shadow_intensity

text.shadow_offset(p0)

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: update

text.visible(p0)

Controls the visibility of the selected text in the graphics window.