Interactor classΒΆ
The interactor PythonPart must be implemented in a Python class and the created object of this class must be returned by the create_interactor function.
The interactor class can use the class BaseInteractor from the PythonParts framework as base class like
class Elements3DInteractor(BaseInteractor):
"""
Definition of class 3D_ElementsInteractor
"""
In the BaseInteractor class, all the member functions required by the PythonParts framework are implemented as abstract methods. This leads to an implementation within the interactor class and avoids problems caused by missing interactor member functions.
An implementation example is given in the file
..\etc\PythonPartsExampleScripts\InteractorExamples\Elements3DInteractor.py
The complete documentation of the members from the BaseInteractor class can be found here: