Vmax549 wrote:Hi Balazs, That was one of the options to link the tabel view to the existing fields . On load it simply copied everything over to the table view and IF you modified anything that was related to teh offsets it updated the fields.
Teh other option is to link directly to teh PRO file and ADD new fields to it to store tool data otherwise you would need a new INI or XML file to store the data.
NOW to figure out HOW to do all that
Creating the table view was the easy part. I did it as a plugin.
(;-) TP
Hi Terry,
I thought about a combination of these.
I mean to copy the values on the onload and to save the values back on the closing plus save the values also to the profile file,
you can save the Zoffsets to the original tooltable keys in the profile, so then next time the UCCNC will remember them and also your tooltable will remember them.
And I think the best for now is if you just add a fixed number of 96 tools to the table, because that is how many the UCCNC supports now and it is fixed,
so I don't see a need to dinamically add more tools to your tooltable, at least there is no advantage of it for now and it is definitely more complicated for you to code than to just add and populate those fixed number of 96 tool slots.
And you could make your own entry and keys in the profile file and save the additional datas in your tool table there and you can then still load them back on the onload and save on the closing to make those values also persistant.