DFC332
Mechanical
- Sep 29, 2006
- 4
We have used the default SolidWorks Materials Database and several of our own databases for over a year. Up until now, no control existed over the creation or modification of our data; users created materials and databases as they had the need.
Now we want/need to implement a new Materials Database to clean up this mess. When it's done, we want to erase the old stuff.
We have finished the new database (as we believe we want it as the finished product). As much as possible, existing material names and properties have been copied from the old files into the new (except for junk).
We then replaced the old sldmat files with the new one. Now when a part is opened and the material is edited, a warning says the material could not be found and a "Temporary Database" is started.
OK, this behavior is expected: I’ve eliminated a data source and I haven’t done anything to tell the part to look elsewhere for data. What I'm looking for is a method or a macro or a suggestion on how to map the material name from one database to another. I’m thinking that a macro could do this, but I have zero experience with writing macros.
Would it be possible to open a part and execute a macro that queries the existing material name and maps it to the new sldmat file? And as long as I’m asking, could this be done as a bulk process (Task Scheduler maybe??) ?
Thanks for yer support! and please, minimize the scolding :-(
DC
SolidWorks 2007 SP 2.1
Windows XP
Now we want/need to implement a new Materials Database to clean up this mess. When it's done, we want to erase the old stuff.
We have finished the new database (as we believe we want it as the finished product). As much as possible, existing material names and properties have been copied from the old files into the new (except for junk).
We then replaced the old sldmat files with the new one. Now when a part is opened and the material is edited, a warning says the material could not be found and a "Temporary Database" is started.
OK, this behavior is expected: I’ve eliminated a data source and I haven’t done anything to tell the part to look elsewhere for data. What I'm looking for is a method or a macro or a suggestion on how to map the material name from one database to another. I’m thinking that a macro could do this, but I have zero experience with writing macros.
Would it be possible to open a part and execute a macro that queries the existing material name and maps it to the new sldmat file? And as long as I’m asking, could this be done as a bulk process (Task Scheduler maybe??) ?
Thanks for yer support! and please, minimize the scolding :-(
DC
SolidWorks 2007 SP 2.1
Windows XP