SQL Database - Delete Materials

Anonymous
271 Views
0 Replies
Message 1 of 1

SQL Database - Delete Materials

Anonymous
Not applicable

Hello,

 

I would like to delete all of the materials (with all the included feeds&speeds, cutting tables etc.) of an SQL database. The main problem is that deleting each material by hand in FeatureCAM takes ~1 minute per Material and multiplying that by 400 means a ton of work. Writing a macro doesn't work either, because the FMFSDatabase class does not contain a Sub/Function capable of returning all materials (besides the fact that DeleteMaterial() tends to freeze FeatureCAM when supplied with a non-existing material)

 

Is there a way to delete all of the materials in the database directly?

 

For comparison, deleting all locally saved materials is pretty straightforward: Navigate to C:/ProgramData/FeatureCAM/FeatureCAM 20XX/DATABASEx64 and delete all .a1 files except for the ones containing "tool" in their name. Is there an analogous way to do so in the SQL-Database without breaking anything?

 

Thank you

0 Likes
272 Views
0 Replies
Replies (0)