8.1.21.3 OriginObject::DoMethod

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

Execute object LabTalk methods

Syntax

DoMethod(strCmd, strArg)

Parameters

strCmd
Object method name
strArg
method's input if require. Default is NULL

Return

The method return value

Examples

EX1

wp.DoMethod("DC.Add", "Excel")

See Also

SetNumProp