Macro to change the template and the design standard?

Hello Ladies and Gentlemen,

I would like to create a macro to replace the template and the standard for dressing a plan.

I don't know where to start because I'm new to macro, so I'm asking for your help.

I would eventually be interested in courses on SW macros. :)

I'd like to integrate this macro into the design checker I created for myself, and then use the task scheduler to run the design checker + macro on a whole series of plans.

Thank you in advance.

Thank you

Cédric

1 Like

Hello

To familiarize yourself with macros, the macro recorder can be a good entry point for simple things.

Then, I advise you to look at the macros I published on Lynkoa, in particular "save as" which is commented for each line and quite simple:

http://www.lynkoa.com/tutos/3d/macro-enregistrer-sous-avec-solidworks

Or also this one:

http://www.lynkoa.com/tutos/3d/macro-solidworks-retirer-lecture-seule-pour-fichiers-de-bibliotheque

For the initiation, see here (I am not the author):

http://www.lynkoa.com/tutos/3d/solidworks-initiation-aux-api

 

Then for your problem in particular, look here:

http://www.lynkoa.com/tutos/import-export-formats-neutres/macro-solidworks-format-de-la-feuille

 

2 Likes