05-13-2020, 11:44 PM
Hi Leo,
Yes, it is possible to change the post processor via the API. You'll find the setParam function for items available in the latest version of the C++ API on GitHub:
https://github.com/RoboDK/RoboDK-API/blo...dk_api.cpp
Importing program files such as LS files may work but you may loose information depending on the syntax you are using.
The example I provided includes an example using a dictionary in Python (it is automatically converted to a JSON string behind the scenes). You can do so in C++/Qt using a QJsonDocument.
Albert
Yes, it is possible to change the post processor via the API. You'll find the setParam function for items available in the latest version of the C++ API on GitHub:
https://github.com/RoboDK/RoboDK-API/blo...dk_api.cpp
Importing program files such as LS files may work but you may loose information depending on the syntax you are using.
The example I provided includes an example using a dictionary in Python (it is automatically converted to a JSON string behind the scenes). You can do so in C++/Qt using a QJsonDocument.
Albert