rmcanany / SolidEdgeHousekeeper

Utility for finding annoying little errors in your Solid Edge project
MIT License
23 stars 10 forks source link

Feature Idea: Rename Files #83

Closed pkoevesdi closed 5 months ago

pkoevesdi commented 5 months ago

(or is it already possible?) I'm looking for a tool that runs through my folder and renames all files to their title property, of course also updating the references. Double filenames could automatically get a number added.

Background: After an export from a PDM system, the file names are only numbers from inside the PDM system. Which is awkward if passing these files to external people.

pkoevesdi commented 5 months ago

It's very similar to the function "Part number does not match file name", but instead of only reporting it, it would be nice to extend this function to also fix this by renaming the file (not changing the part number).

rmcanany commented 5 months ago

Thank you for the suggestion! I had a project not too long ago that could have used that functionality. Like you, I thought it would be a nice addition to Housekeeper. My working title for the command was "Fix this mess."

Until I get to it (no promises!), there's a workaround. In Design Manager, you can copy/paste to and from Excel. In Excel, use the Text To Columns and Concatenate functions to build the new name, then copy it back. Here's a picture of how I did it:

image

pkoevesdi commented 5 months ago

Ah, thanks for the hint. In my case, doesn't even need Excel: just copy the "title" column into the "new filename" column.

rmcanany commented 5 months ago

OK. Good deal. I'm going to close this issue for now. Feel free to reopen it if needed.