OriginObject::GetName

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 short name of an object

Syntax

GetName()

Parameters

Return

The short name

Examples

EX1

import PyOrigin
#Assume a worksheet is active
wks = PyOrigin.ActiveLayer()
Sname=wks.GetName()
#Prthe short name of the sheet
print('Current sheet index = %s' % (Sname))

See Also

SetName