It is not possible to import or export the robot DHM parameters. On the other hand, you can import or export the robot calibration measurements.
The following example shows how you can import/export the robot calibration measurements:
Code:
# get the table values:
from robodk import robomath
values = robomath.Mat() # Empty 2D matrix
table = "CALIB_TARGETS"
result = calib.setParam(table, values)
# The result is the 2D matrx
# Set the table values:
calib.setParam(table, values)
Valid table values are:
BASE_SETUP: Measurements used for the base setup
TOOL_SETUP: Measurements used for the tool setup
CALIB_RAIL: Measurements used for rail calibration
CALIB_TARGETS: Measurements used for robot calibration