I've recorded a Macro to create a part, then create an assembly with two construction sketches. I have gotten so far but cannot figure out how to instruct SolidWorks to correctly mate the component to the sketch.
Above shows where the macro finishes
Below shows what I'm trying to achieve
Any ideas on how to mate this component?
Please find attached the .swp file
SolidworksApi macros