Stephan Lanser

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

Discussion created by Stephan Lanser on Apr 20, 2020
Latest reply on Apr 29, 2020 by Stephan Lanser


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.