Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Import/Export Programs via API

#4
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


Messages In This Thread
Import/Export Programs via API - byLeo- 04-30-2020, 02:53 PM
RE: Import/Export Programs via API - byAlbert- 05-04-2020, 01:42点
RE: Import/Export Programs via API - byLeo- 05-13-2020, 07:02 AM
RE: Import/Export Programs via API - byAlbert- 05-13-2020, 11:44 PM
RE: Import/Export Programs via API - byLeo- 05-26-2020, 06:23 AM
RE: Import/Export Programs via API - byAlbert- 05-27-2020, 12:49 PM
RE: Import/Export Programs via API - byLeo- 05-28-2020, 07:51 AM
RE: Import/Export Programs via API - byAlbert- 05-28-2020, 12:12 PM



Users browsing this thread:
1 Guest(s)