OpenEDM (IYOPRO PLM)
public class Adapter : IDisposable
-
With the OpenEDM adapter you can connect IYOPRO BPM to your IYOPRO PLM. The functions available depend on your IYOPRO PLM implementation.
Methods
Adapter()
-
The constructor
string OECallFunction(string username, string password, string function, string data)
-
Calls a function of the OpenEDM
XmlDocument OECallFunctionReturnXML(string username, string password, string function, string data)
-
Returns the xml to the function call
Example
This example loads an Adapter to the PDM-System IYOPRO PLM (formerly OpenEDM) and performs a function call
import clr
clr.AddReferenceToFileAndPath(Session.GetAdapterPath("IYOPRO.OPENEDM"))
from OpenEDMAdapter import *
a = Adapter()
OEResult = a.OECallFunction("","","DEMO.FUNCTION","")
data = eval(OEResult)