In order to be able to use this module import it like this:

#or assign it to a shorter name
import as pyc


class[, (str)name[, (BaseObject)parent]]) → None

Bases: mpacts.core.baseobject.BaseObject

A Contactmodel that can be overriden in python and where perform() will execute the python code from within C++. class Example(PythonContactModel):

def perform():
print ‘this will be called from c++’
def init():
print ‘this can also be overridden will be called when initializing the contactmodel.

IMPORTANT use the python wrapper PyContactModel instead, since raw construction is not possible with this one!.’

PythonContactModel(name, parent, **kwargs)
pc1((PythonContactModel)arg1) → ArrayManager :

Get pc1 of the contactmodel.

pc2((PythonContactModel)arg1) → ArrayManager :

Get pc2 of the contactmodel.

python_object((PythonContactModel)arg1) → object :

Get the original python object back, containing the overridden functions