8.2.11 FindGraphLayer

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.


Description

Find GraphLayer by name.

Syntax

FindGraphLayer(layerName)

Parameters

layerName
GraphLayer name

Return

The GraphLayer

Examples

EX1

import PyOrigin
Layer = PyOrigin.FindGraphLayer('Graph1')
print(Layer.GetName())