How to use a user-defined-function in multiple projects

Hallo,

I've started creating macros for Solidworks some weeks ago. Since then, I've written some functions, which I'm using frequently. So I'm wondering if there's a way to include such functions in multiple projects (*.swp) without using copy&paste (since this would be a pain in the ass regarding code maintenance).

Is there for example a way to put such functions into one (text-)file (module???) and refer to it from different projects (not importing it, since this seems to create a copy)

Thanks for your answers.

Greetings


Stephan

 

SolidworksApi/macros