See also: Python API Reference (on the Server Side), HQL API (on the Server Side), Python Value Range (on the Server Side), Python Debugging (on the Server Side), IronPython API (on the Client Side), Directory Structure of Clients and Server |
ppms.get_session_dict()
.
/dlls/
by default and named _ppms.so
or _ppms.dll
depending on the operation system.
ppms
directory, there is the ppms_py
file, This file is automatically generated with the help of SWIG and makes the C function available.
ppms.py
file that combines both modules and contains the actual interface to PLANTA. Here, PLANTA is expanded by functions that are written in Python only.
ppms
module is made available automatically. If there is a code in the Value range field, the inspect
module is imported additionally.
startup.py
, which further adjusts the path, is imported.
py/distribution
dlls
dlls/python34.zip
lib
py
py/pysrc
py/distribution/site-packages
py/api/ppms/wrapper/system
py/api/ppms/wrapper
py/api/ppms/customizing/venus
py/api/ppms/server
py
py/pysrc
py/system
py/system/python32
dlls
py/customer
py/planta_ch
py/planta_de
migration/planta_de
migration/planta_ch
migration/customer
/api/ppms/wrapper/
directory, there are the following subdirectories:
/planta_de/
NEW Contains the new import wrapper. The real files are located at /customizing/
and/server/
./planta_ch/
Contains the Python files of PLANTA Switzerland /customer/
Contains the customer specifique Python files as well as files that change or expand the standard functionalities.
- If new individual files are created in the
customer
directory, the session must be restarted in order to generate the wrapper files undersystem
./system/
Contains the old import wrapper. The files in the subdirectories of this directory
- show the structure of the other directories.
- import the code from
planta_de
,planta_ch
andcustomer
in this sequence. So if a function is defined underplanta_de
, it can be overwritten in the respective file in thecustomer
directory.=pysrc= Contains the files for the Python debugger
/api/ppms/wrapper/
directory, there are the following subdirectories:
/planta_de/
Contains the standard Python files as provided with the standard /planta_ch/
Contains the Python files of PLANTA Switzerland /customer/
Contains the customized Python files as well as files that change or expand the standard functionalities.
- If new individual files are created in the
customer
directory, NEW the session must be restarted in order to generate the wrapper files undersystem
./system/
Contains the old import wrapper. The files in the subdirectories of this directory
- show the structure of the other directories.
- import the code from
planta_de
,planta_ch
andcustomer
in this sequence. So if a function is defined underplanta_de
, it can be overwritten in the respective file in thecustomer
directory.pysrc
Contains the files for the Python debugger
/planta_de/
Contains the standard Python files as provided with the standard /planta_ch/
Contains the Python files of PLANTA Switzerland /customer/
Contains the customized Python files as well as files that change or expand the standard functionalities.
- If new individual files are created in the
customer
directory, theCreateFolderPacket
migration packet must be run in order to generate the wrapper files undersystem
./system/
Contains the new import wrappers. The files in the subdirectories of this directory
- show the structure of the other directories.
- import the code from
planta_de
,planta_ch
andcustomer
in this sequence. So if a function is defined underplanta_de
, it can be overwritten in the respective file in thecustomer
directory.pysrc
Contains the files for the Python debugger