Part Numbers, Man readable names, no PDM

I pretty much worked out how to name exported files (STEP, PDF and 3MF) with the help of your Version Control macro and some others I’ve been working on for several years.

The first exports a STEP (or PDF if a drwawing), the second a 3MF for 3D printing. They use these properties to name the output files:
-Part number (also file name here)
-Description
-State
-Revision
-Date
The macros are easy enough to modify so you can remove parts or change the property name to follow your standard.

Export_MG.swp (91 KB)

Export to 3MF.swp (48.5 KB)

Some interesting discussion here, but if I’m reading the original post right - he isn’t looking for a smart numbering system. Just a way to add more info to filenames or Descriptions, or some searchable/readable metadata without the use of PDM?

I agree everyone should be careful about trying to pack excessive info into part numbers. But it works okay to add about 20-40 characters of info to Solidworks filenames, after the part number. More than that just gets uncomfortably long for filenames, and in the Solidworks Tree.

If finding info is part of the problem, get a better search tool! The Windows search powers are pretty terrible. It doesn’t reliably find info in the Description property. It doesn’t even search filenames well (compared to something like VoidTools Everything).

I’d like to hear more from @DavidWS about the problem, and what kind of info you want to attach.

When you say: “We’ve also added a small amount of human-readable text to help engineering, purchasing, and production identify parts more easily.” Do you mean in that 17 character part number? Or in addition to it (in filename or Description)?

I don’t know if this will work with anyone else’s situation, but I keep mine simple. I just use a generic name that describes the part, followed by the project number. This file name isn’t used anywhere else, so it doesn’t really matter if it’s somewhat ambiguous. All notes and BOM’s reference custom properties.

I am also not using PDM, and am mostly a one-man show, so that likely would not work well in multi-user environments.

Lots of our files have a project # and code number at the end of it for project specific parts. The hard thing is sorting thru the 100’s of parts that have been created in the past to see if there is a good one that could be used again. 90% of the time I think we just make a new part and drawing unless it is a duplicate and we don’t even touch the drawings.

@Brian-M , did you ever find a way for Everything to search any other properties except Description? I find cramming all the info into Description very unhandy. I often need to search parts based on their Project, Type, Source or other properties defined in the part… Putting that into Description (or even file name) would be quite terrible.

Lots of great information here on lots of aspects on the subject… Thanks all for your input, keep it coming!

I (coded by ChatGPT) made a couple macros that help people understand what the models/drawings are from Windows explorer:

  • SaveAs PDF2 saves the drawing as a PDF as the filename of the drawing, concatenates revision to that name, adds the description as per the custom property in the first sheet, and adds a date stamp.

  • Description 2 Title takes the Description property and adds it to the file summary title… The ‘Title’ column can easily be turned on in Windows explorer and can be searched for directly in Windows (or Everything).

Hope someone else finds this useful… These are a bit basic and rough, so if there are suggestions, please bring them! :slightly_smiling_face:

SaveAs PDF2.7z (12.4 KB)

DESCRIPTION 2 TITLE.7z (19.9 KB)