Task Scheduler with batch renaming of PartNo?
Task Scheduler with batch renaming of PartNo?
(OP)
I think I might need a macro for this, because I have done extensive searching and I have not found precisely what I want.
I have parts with the PartNo set to XXX-XXXX-M001 and I want to, say, rename them all to something like CAT-DOGS-M001, changing the first 8 characters in the string. I am not allowed to modify this computer in any way, so no programs other than what SolidWorks has to offer are at my disposal.
I have attempted setting things up with the task scheduler, but I was reading the tables wrong, and it seems that a row for the "File Name or Type" category does not correspond to that rows on the next table. It seems that the only thing that this supports is to name all the files the same thing for some given property, which is precisely what I do not want.
There are many parts that take a long time to open, so I am hoping that there exists some kind of way, internal to SolidWorks, where I can do this simple process. I really wish batch renaming accepted regular expressions.
I have parts with the PartNo set to XXX-XXXX-M001 and I want to, say, rename them all to something like CAT-DOGS-M001, changing the first 8 characters in the string. I am not allowed to modify this computer in any way, so no programs other than what SolidWorks has to offer are at my disposal.
I have attempted setting things up with the task scheduler, but I was reading the tables wrong, and it seems that a row for the "File Name or Type" category does not correspond to that rows on the next table. It seems that the only thing that this supports is to name all the files the same thing for some given property, which is precisely what I do not want.
There are many parts that take a long time to open, so I am hoping that there exists some kind of way, internal to SolidWorks, where I can do this simple process. I really wish batch renaming accepted regular expressions.






RE: Task Scheduler with batch renaming of PartNo?
See attached
Anna Wood
SW2012 SP4, Windows 7 x64
http://www.renderbay.com
http://www.solidmuse.com
http://www.phxswug.com
RE: Task Scheduler with batch renaming of PartNo?
Cheers,
Anna
Anna Wood
SW2012 SP4, Windows 7 x64
http://www.renderbay.com
http://www.solidmuse.com
http://www.phxswug.com
RE: Task Scheduler with batch renaming of PartNo?
RE: Task Scheduler with batch renaming of PartNo?
RE: Task Scheduler with batch renaming of PartNo?
RE: Task Scheduler with batch renaming of PartNo?
This sounds like a perfect task for a macro. Look into the FixProperties macro on Lenny's site.
http://www.lennyworks.com/solidworks/default.asp?I...
It may not be exactly what you are looking for, but it should be a good start. Additionally the PartNoProperty macro could be of some help. That macro was something Lenny assisted me with several years ago. It created a custom property and populated it with a portion of the file name.
-Dustin
Professional Engineer
Pretty good with SolidWorks
RE: Task Scheduler with batch renaming of PartNo?
1 Open an existing part, rename it and overwrite the existing one.
2 Existing part has a property with some value and you wan't to overwrite that.
So which one of it is you looking for (my guess is 1). Either of both of these can be done with macro.
Deepak Gupta
CSWE, CSWP, CSDA
SW 2012 SP4.0 & 2013 PR1
Boxer's SolidWorks™ Blog
SolidWorks™ Rendering Contest
RE: Task Scheduler with batch renaming of PartNo?
Deepak Gupta
CSWE, CSWP, CSDA
SW 2012 SP4.0 & 2013 PR1
Boxer's SolidWorks™ Blog
SolidWorks™ Rendering Contest
RE: Task Scheduler with batch renaming of PartNo?
You can edit properties
Rename parts, assemblies, drawings
reconnect references, replace ect.
RE: Task Scheduler with batch renaming of PartNo?
I went onto SolidWorks explorer, and I do not see how I can edit properties with what I see. It just looks like a list of files with columns named: Name, Size, Type, Date Modified, Attributes (this column is blank), Full path.
RE: Task Scheduler with batch renaming of PartNo?
Enterprise PDM?
RE: Task Scheduler with batch renaming of PartNo?
RE: Task Scheduler with batch renaming of PartNo?
if you need to change the name (file name)right click on your object, change name.
for your configurations i sent you some info.
go to SWX Explorer help
hopefully this helps you
don't kill the messenger if it doesn't!
RE: Task Scheduler with batch renaming of PartNo?
RE: Task Scheduler with batch renaming of PartNo?
Deepak Gupta
CSWE, CSWP, CSDA
SW 2012 SP4.0 & 2013 PR1
Boxer's SolidWorks™ Blog
SolidWorks™ Rendering Contest