Skip to content

mechanomy/SolidworksScripts

Repository files navigation

Macros for frequent Solidworks operations

I suggest adding this repository to your Macro File Locations and mapping them to shortcut keys.

As SWP is a binary format, the macros are exported as BAS files for clarity.

addAxesXYZ

Adds canonical X,Y,Z axes to the open part/assembly. This can also be done in the part/assembly template.

export3mfStep

Saves the current part in 3MF and STEP files.

importProperties2Part

Imports properties in a CSV file into the current part, as either 'Custom File Properties' or 'Configuration Properties'. The CSV format is:

Optional reference path to file.csv or other comment; this first line is skipped when importing
Default; secretText; text;  configPropText;
Default; bigLength; double; 60.00000;
specialConfig; configNum; double; 2.500000;
specialConfig; configText; text;  specialest config;

exportPartProperties

Exports the current parts properties to partName.csv in the same format as importProperties2Part.

Copyright

Copyright (c) 2023 Mechanomy LLC

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published