8.1.21.5 OriginObject::GetComments

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

Retrieve the comments from an object that supports Comments.

Syntax

GetComments()

Parameters

Return

The comments text string

Examples

EX1

import PyOrigin
#Assume a worksheet is active
wks = PyOrigin.ActiveLayer()
print('The wks comments: %s' % wks.GetComments())

See Also

SetComments