Skip to content

pyplot.hide_section_lines

fabian-flassig edited this page Jul 31, 2026 · 1 revision

Hides the plotted section cut lines on one or more plot sheets.

Hides the cut line markers of all sections in every detail of the given sheet(s). This is the programmatic counterpart of the "Hide section line" right-click function on a plot sheet, applied to all details and sections of the sheets at once.

pyplot.hide_section_lines(sheet)
pyplot.hide_section_lines({sheet1, sheet2, ...})
Parameter Type Description
sheet element_handle or { element_handle* } One or more plot sheet handles

Return value

Type Description
nil No return value

Example:

local sheet = pyplot.create_sheet("Sheet 1")
-- ... insert details and sections ...
pyplot.hide_section_lines(sheet)

Remarks:

Only the cut line markers on the plot sheets are hidden. The sections themselves and their plotted section views remain unchanged.

The function affects the sections existing at the time of the call. Sections created afterwards are shown as usual.

Hidden cut lines can be shown again via the detail's right-click menu on the plot sheet.

Version Support:

Minimum PYTHA Version: V27

See also:

pyplot, pyplot.hide_section_texts, pyplot.insert_section, pytha.create_section

Clone this wiki locally