8.1.21.20 OriginObject::SetLongName

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

Set the long name of an object

Syntax

SetLongName(name)

Parameters

name
The long name

Return

Examples

EX1

import PyOrigin
wkPage = PyOrigin.ActivePage()
wksLayer1 = wkPage.Layers(0)
wksLayer1.SetLongName('Mysheet')

See Also

GetLongName