Determination of confdata if only translation and rotation data is available.

Hi all,

I am working with developing RAPID program by importing a stl file into python, carrying out some maipulations and finally generate a RAPID code directly from python.

Through python I have been able to get the  translation and rotation data, however I am not sure how can I get the confdata for defining robtarget.

I am relatively new to Robotics so I dont know how the confdata works, however when I was playing around with the RAPID Code generated by directly teaching targets, I found out that the robot was able to follow the desired motion even with random confdata values. So is confdata really a necessary parameter to execute multiple MoveC commands?

I just want everyone's insights into how can I accomplish this task.

Thank You