line#

class ansys.api.pyensight.ensight_api.line(session: Session)#

Class wrapper for EnSight line module

This class acts as a proxy for the EnSight Python module ensight.line

Methods

line.arrowhead(p0)

Controls the display of arrowheads on the currently selected line in the graphics window.

line.color(p0)

Line: color

line.delete()

Line: delete

line.description(p0)

Line: description

line.deselect_all()

This command has not yet been documented.

line.label_text_id(args)

Line: label_text_id

line.location_x(p0, p1)

Specifies the x/y coordinate of an endpoint for the selected line in the graphics window.

line.location_x_1(p0)

Line: location_x 1

line.location_x_2(p0)

Line: location_x 2

line.location_y(p0, p1)

Specifies the x/y coordinate of an endpoint for the selected line in the graphics window.

line.location_y_1(p0)

Line: location_y 1

line.location_y_2(p0)

Line: location_y 2

line.mix_rgb(p0, p1, p2, p3)

Line: mix_rgb

line.modify_begin()

These optional commands can be used to demarcate a series of line: commands which apply to the same line or lines so that they can be executed at one time for better performance.

line.modify_end()

These optional commands can be used to demarcate a series of line: commands which apply to the same line or lines so that they can be executed at one time for better performance.

line.new_line()

Creates a new line in the graphics window.

line.new_or_mod_line(p0)

This command has not yet been documented.

line.origin(p0, p1, p2, p3)

Line: origin

line.origin_1(p0, p1, p2)

Line: origin 1

line.origin_2(p0, p1, p2)

Line: origin 2

line.origin_by(p0)

Line: origin_by

line.origin_by_1(p0)

Line: origin_by 1

line.origin_by_2(p0)

Line: origin_by 2

line.origin_frame(p0)

Line: origin_frame

line.query_count(args)

Line: query_count

line.query_display_attributes(args)

Line: query_display_attributes

line.query_selected_objects(args)

Line: query_selected_objects

line.relative_viewport(p0)

Line: relative_viewport

line.relative_viewport_1(p0)

Line: relative_viewport 1

line.relative_viewport_2(p0)

Line: relative_viewport 2

line.rgb(p0, p1, p2)

Specifies the RGB color value of the selected line(s) .

line.select_all()

Selects all of the annotation lines as the target for future line: commands.

line.select_all_invisible()

This command has not yet been documented.

line.select_all_visible()

This command has not yet been documented.

line.select_begin(*args, **kwargs)

Selects one or more lines in the graphics window as the target for future line: commands.

line.select_default()

Causes any following line: commands to affect the default settings, rather than a particular line.

line.visible(p0)

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

line.width(p0)

Sets the width of the currently selected line.