8.1.21.7 OriginObject::GetLongName

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

Get the long name of an object

Syntax

GetLongName()

Parameters

Return

The long name

Examples

EX1

import PyOrigin
#Assume a worksheet is active
wks = PyOrigin.ActiveLayer()
Lname=wks.GetLongName()
#Prthe longname of the sheet
print('Current sheet index = %s' % (Lname))

See Also

SetLongName