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

Import/Export Programs via API

#2
Hi Leo,

If you want to generate a generic program you can use a neutral post processor such as the CSV post or a Gcode post. This will generate a generic program with all the information needed. We'll soon add a post that automatically creates a Python script that can be run in simulation.

你可以改变指令parameters as shown in this example:
//www.sinclairbody.com/doc/en/PythonAPI/exam...structions

We just added support for this so make sure to upload RoboDK. Also, the Python API uses a dictionary to get/set values, with the C++ API you'll need to use a JSON string instead.

InstructionList is a bit outdated but should work. It will provide a large array describing the program as a 2D matrix.

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)