Stephane Morvan

Script to Export to .STL multiple configurations

Discussion created by Stephane Morvan on Jun 24, 2020
Latest reply on Jun 24, 2020 by Stephane Morvan



I have a Solidworks file with about 250 or so configurations in a hierarchical arrangement (same part but different variations, about 3 or 4 level deep). We are planning on 3D Print those files.


I am looking for a script that can walk through the configuration tree and export STL files for each of the configuration encountered (child configurations). The file name should be the part name as set in the design table. And if there is no file name set, then no file should be output.


I did find a few scripts that output a single .STL file, but not script that would 'walk' the configuration tree and output the files according to their part name (as presented in the design table).


Any hints?