OpensimInterfaceXmlProcedure#

class pyCGM2.Model.Opensim.interface.procedures.opensimProcedures.OpensimInterfaceXmlProcedure#

A base class to provide an interface for handling XML procedures in OpenSim.

The class allows setting and retrieving various parameters related to XML procedures, including the results directory and model version.

__init__()#

Methods

__init__()

getXml()

Retrieves the XML associated with the procedure.

setModelVersion(modelVersion)

Sets the model version.

setResultsDirname(dirname)

Sets the directory name where the results will be stored.

getXml() → Any#

Retrieves the XML associated with the procedure.

Returns:

Any – The XML content. The exact return type depends on how ‘xml’ is defined in the class.

setModelVersion(modelVersion: str) → None#

Sets the model version. The dots in the version string are removed.

Parameters:

modelVersion (str) – The version of the model, with dots (e.g., “1.0.2”).

setResultsDirname(dirname: str) → None#

Sets the directory name where the results will be stored.

Parameters:

dirname (str) – The name of the directory to store results.