AnsweredAssumed Answered

Trouble with Recording Macro to Create Linear Patterns

Question asked by Aaron Clark on Jun 19, 2019
Latest reply on Jun 20, 2019 by Fifi Riri

Any help on how I could accomplish this would be greatly appreciated. Im new to macros, and know Im likely headed on the wrong track.

I am trying to create a macro that would import a part to make a set of cylindrical cutting heads. I have a design table set up in a part file to save individual configurations of cutters/spacers. 

I would like to open my selected part config in an assembly, create a sketch for the center to center distance of my axles( to later drive that dimension in a design table), from there it should be possible to automate

  • create a linear array (with rotation about the center axis) 
  • then mirror(copy) and flip that part. (with center at sketch's "center_to_center")
  • set mates for faces of the two parts and their center locations based on sketch
  • finally create a design table (which I will populate manually after automation)

 Ive been trying to record the macro but havnt had much luck getting any of the above goals to register. I am open to any new ideas. 





included is a test assembly for what im trying to accomplish.