jkramer
03-10-2004, 11:58 PM
Hi,
We want to our MI-files (made in Annotation) to be imported directly in the Radan CAM-program. This works fine, except for splines, which do not show up in Radan....
I learned that there's a function in ME10 to convert splines to radii and/or straight lines (convert_spline), and in ME10 this works fine. However, I'd like to have a Lisp routine that enables me to select a flat view, after which all splines in the flat would be converted (Radan only needs the flat view).
It was easy to write a Lisp test-routine that changes the color of all splines in a flat view to red (see attached file). But how do I "insert" the ME10 function convert-spline in a Lisp routine?? I must confess that I find the help docs about this subject very confusing...
I guess I should use sd-execute-annotator-command or sd-execute-annotator-function????!!!!
Thanks,
Regards,
Jaap
We want to our MI-files (made in Annotation) to be imported directly in the Radan CAM-program. This works fine, except for splines, which do not show up in Radan....
I learned that there's a function in ME10 to convert splines to radii and/or straight lines (convert_spline), and in ME10 this works fine. However, I'd like to have a Lisp routine that enables me to select a flat view, after which all splines in the flat would be converted (Radan only needs the flat view).
It was easy to write a Lisp test-routine that changes the color of all splines in a flat view to red (see attached file). But how do I "insert" the ME10 function convert-spline in a Lisp routine?? I must confess that I find the help docs about this subject very confusing...
I guess I should use sd-execute-annotator-command or sd-execute-annotator-function????!!!!
Thanks,
Regards,
Jaap