CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 21, 2019, 23:39:58 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Rename All Tools  (Read 396 times)
alex_holden
CNC Ewok
*
Offline Offline

Posts: 29


View Profile
« on: October 18, 2019, 08:26:42 am »

I'm not actually sure what this feature is supposed to do, but when I right click on a tool library and select "Rename all tools" it either appears to do nothing or it generates an unhandled exception "An entry with the same key already exists". It does this with the bundled Lathe-mm library which I've never altered, so I don't think it's something screwy about my library. This happens for me on both 0.9.8 and 1.0-rc2.
Logged
10bulls
Administrator
CNC Jedi
*****
Offline Offline

Posts: 2133


Coding Jedi


View Profile WWW
« Reply #1 on: October 18, 2019, 09:39:38 am »

Thanks Alex,

The 'Rename all tools' function is described in the 'Tool numbering and naming' of this page...
http://cambamcnc.com/doc/plus/cam/ToolLibrary.htm

I will look into making the error message less ugly, perhaps just a log message warning and internally make sure the generated name is unique (such as by appending the tool index).

Rename all tools should also be changed to not do anything if there is no 'Tool Name Format' value set.

And while we are at it, I think a confirmation 'This will rename all your tools' would be friendly.

The lathe tool library is a bit odd in that none of the tool properties really identify what the tool is, so it is best to manually set the tool names for lathe tools in the current design.

Thank you for pointing this out, I have added this to the TODO list.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.097 seconds with 19 queries.

Copyright © 2018 HexRay Ltd. | Sitemap