Get the short name of an object
GetName()
The short name
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))
SetName