I'm trying to figure out how to automate a process and need some assistance. There's an assembly where a macro inserts four of the same component and they have the next instance IDs. I added face entities so I can select them by top, left, right, front back faces. Is there a way to do the following:
- Change the instance ID count after inserting the components starting at 1 to 4? If I delete the components and rerun it I would like to use them for selecting in the next stage of the mating portion of the macro
- Select the components and mate the faces. How can you grab the face entities I labeled of the component if you don't know the reference id of each component as solidworks just starts adding more and doesn't reset?
- Select each components origin for a mate.