I'm pretty new to Solidworks and still have many things to learn but recently my boss asked me to create a macro that could help auto assembly parts into a big assembly. For example we add all the components into new assembly then hit macro and it will automatically mate the parts together bases on the mate entity we coded. I've recorded a small macro and trying to edit from it but still have no ideas where to start. I'm looking for a template or an example macro. Could anyone give me some advises, any help is appreciated and I'm using VBA to create my macro.