Download tools from toptool database

CADCAM machining solution: mill-turn centers, milling and turning, kinematics, fixtures, topology recognition, tool library, manufacturing schedules, realistic simulation, workshop sheets, post-processors and DNC...

Moderators: remi77, jacs, Daniel

kotlas
Corporal
Corporal
Posts: 21
Joined: Fri Jan 14, 2011 6:53 am

Download tools from toptool database

Unread post by kotlas »

I want to download all tools from toptool database to excel or txt...
Attachments
toptool.jpg
User avatar
necas
Private
Private
Posts: 3
Joined: Fri Oct 21, 2011 5:49 pm

Re: Download tools from toptool database

Unread post by necas »

kotlas wrote:I want to download all tools from toptool database to excel or txt...
Hi Kotlas,

To export the information you need, go to TopTool / Configuration / Dictionary and then run the exportation option.
After finished, go in the instalation folder, Config...\Database\Tools and look for the txt files.

Elem.txt is the list of single elements
Tool.txt is the file with the mounted tools
CutSp.txt is the file that have the cutting conditions for the tools
MatP.txt is the materials of the part to cut
MatO.txt is the materials of the tool
...

Hope it can help... :wink:
kotlas
Corporal
Corporal
Posts: 21
Joined: Fri Jan 14, 2011 6:53 am

Unread post by kotlas »

Hi
Is possible exporting to excel file?
A file e.g exporation.wgl is written in VB or C++ or... is possible adapt it to be output to Excel?
User avatar
flavio_ruivo
Master Corporal
Master Corporal
Posts: 32
Joined: Thu Mar 01, 2007 12:09 pm
TopSolid Module: TopSolid'Cam
TopSolid Version: 7.6
Location: Leiria-Portugal
Contact:

Download toptool to Excel

Unread post by flavio_ruivo »

Hi Kotlas,

If you edit the file "Exportation.wgl" with Notepad, you will see this lines:

nfile = H.Rep+"\"+nTable+".txt"

I made the test, and it's possible export to Excel, I made a copy of the Exportation.wgl change the option from .txt to .xls in several lines:

nfile = H.Rep+"\"+nTable+".xls"

.... And it's fine :)

Best Regards
Flávio
kotlas
Corporal
Corporal
Posts: 21
Joined: Fri Jan 14, 2011 6:53 am

Re: Download toptool to Excel

Unread post by kotlas »

flavio_ruivo wrote:Hi Kotlas,

If you edit the file "Exportation.wgl" with Notepad, you will see this lines:

nfile = H.Rep+""+nTable+".txt"

I made the test, and it's possible export to Excel, I made a copy of the Exportation.wgl change the option from .txt to .xls in several lines:

nfile = H.Rep+""+nTable+".xls"

.... And it's fine :)

Best Regards
Flávio
:-) ...thanks Flávio, but i tried it (change .txt to .xls)
In excel are all values only one cell. its not good. I want one cell one value.
Post Reply