B
Bre-x
Hi, I need some help importing a tool list from Mastercam. Here is the Text
File
# = 1
Type = Center Drill
Tool name = 1/8 CENTERDRILL
Diameter = 0.125000
Rad. Type = None
Cor. rad. = 0.000000
Threads = 0.000000
# = 2
Type = Center Drill
Tool name = 1/4 CENTERDRILL
Diameter = 0.250000
# = 3
Type = Center Drill
Tool name = 1/2 CENTERDRILL
Diameter = 0.500000
Cor. rad. = 0.000000
..............etc, etc, etc
I need to go into each "# =" occurrence then import into a table
TID, Type, Tool, Diameter
1, Center Drill, 1/8 CENTERDRILL, 0.125000
2, Center Drill, 1/4 CENTERDRILL, 0.250000
3, Center Drill, 1/2 CENTERDRILL, 0.500000
The "Type, Tool, and Diameter" are always the first 3 Lines After the Tool
ID: " # = "
Thank you all,
Bre-x
File
# = 1
Type = Center Drill
Tool name = 1/8 CENTERDRILL
Diameter = 0.125000
Rad. Type = None
Cor. rad. = 0.000000
Threads = 0.000000
# = 2
Type = Center Drill
Tool name = 1/4 CENTERDRILL
Diameter = 0.250000
# = 3
Type = Center Drill
Tool name = 1/2 CENTERDRILL
Diameter = 0.500000
Cor. rad. = 0.000000
..............etc, etc, etc
I need to go into each "# =" occurrence then import into a table
TID, Type, Tool, Diameter
1, Center Drill, 1/8 CENTERDRILL, 0.125000
2, Center Drill, 1/4 CENTERDRILL, 0.250000
3, Center Drill, 1/2 CENTERDRILL, 0.500000
The "Type, Tool, and Diameter" are always the first 3 Lines After the Tool
ID: " # = "
Thank you all,
Bre-x