Hello Guest it is April 16, 2024, 02:21:03 PM

Author Topic: VB script for Tools?  (Read 1941 times)

0 Members and 1 Guest are viewing this topic.

VB script for Tools?
« on: February 15, 2016, 10:55:33 PM »
Hello I am trying to learn different types of scripting so I ran across this  script and would like to understand what it is doing.  If anyone would like to explain I am all ears and eyes.



For I = 1 To 12
ToolNum = GetUserDRO(ToolDRO + (I-1))
ToolOffset = GetToolParam(ToolNum,2)
SetUserDRO(LengthDRO + (I-1),ToolOffset)
If ToolOffset < 0.0001 Then
MsgBox("Tool Length not set for Tool # " & ToolNum)
End If
Next I