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.description
(p0)Line: description
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
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
Line: location_y 2
line.mix_rgb
(p0, p1, p2, p3)Line: mix_rgb
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.
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.
Creates a new line in the graphics window.
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
line.query_count
(args)Line: query_count
Line: query_display_attributes
Line: query_selected_objects
Line: relative_viewport
Line: relative_viewport 1
Line: relative_viewport 2
line.rgb
(p0, p1, p2)Specifies the RGB color value of the selected line(s) .
Selects all of the annotation lines as the target for future line: commands.
This command has not yet been documented.
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.
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.