xarial / codestack

Library of SOLIDWORKS API, SOLIDWORKS PDM API, VBA and Desktop code examples, applications macros and tutorials.
https://www.codestack.net
MIT License
186 stars 70 forks source link

SolidWorks macro to Load/Restore Setting (SolidWorksSettingFile.reg) #334

Open danielemzanella opened 4 months ago

danielemzanella commented 4 months ago

I am waisting my time changing the setting 10 time per day according the task I have to deal with As a solution, I have created 3 setting files

I was wondering to have a macros able to Gear (Options) Load/Restore Setting Restore Setting Next pick up one of my SolidworksSetting,reg Next Do not create BackUp Finish

I tried to record a macro using the above procedure, but the saved macro result in an empty file Do you have some smart way (VBA/API/C++) to load and set a SolidworksSetting,reg ?