rmiller a écrit :
@5axes
Can you explain how you got the information to display in the QAT?
You can use the general variables to get the current information ie :
One Field give me the Current feedrate value in the active Toolpath -> Expression : 'F ' + $Toolpath.feedrate.cutting.value This general variable are automaticaly updated by the software. It works for informations on active $Toolpath , $Tool, $Boundary, $Workplane etc etc ..

Some values are not available directly, so I'm using a macro to declare some session variables Ie : One field give me the total time of every toolpath in the active folder : $Session.TotalTime
// Total times Calculation + Store in a $Session Variable :TotalTime
// Store in a $Session Variable :Folder
REAL $total_time = 0
// Session Variable to store the result
If NOT member($session._keys, "TotalTime") {
SESSIONPAR REAL TotalTime = 0
}
If NOT member($session._keys, "CFolder") {
SESSIONPAR STRING CFolder = "Toolpath"
}
// Active Folder
//get the active folder (if there is one)
STRING $a_f = active_folder()
//abort if there is no active folder
IF $a_f == '' {
$a_f = "Toolpath"
}
//abort if the active folder is not in the toolpath mode
STRING LIST $Split = {}
$Split = TOKENS($a_f, "\")
IF $Split[0] != "Toolpath" {
$a_f = "Toolpath"
}
FOREACH tpath IN folder($a_f) {
$total_time = total_time + $tpath.statistics.leadsandlinks.times.rapid
$total_time = total_time + $tpath.statistics.leadsandlinks.times.plunge
$total_time = total_time + $tpath.statistics.leadsandlinks.times.ramp
$total_time = total_time + $tpath.statistics.leadsandlinks.times.others
$total_time = total_time + $tpath.statistics.cuttingmoves.times.linear
$total_time = total_time + $tpath.statistics.cuttingmoves.times.arcs
}
$session.CFolder = $a_f
$session.TotalTime = round($total_time,2)
When I need to update these informations I just click on the icon in the QAT closed to this field or using a shortcut F9
