Re: Assigning post variable to Vbscript variable
You will need to start a program block down in the 2001, 2002, 2003, etc range of your post processor, similar to:
2001. program_block_1, Find Tool Numbers
nextToolNum = MILL_GetNextToolNumber()
nextToolOffset = MILL_GetNextToolOffsetNumber()
outputNextToolData = "Next Tool Number is " & nextToolNum & ", next offset is " & nextToolOffset
CALL MILL_SetReturnString(outputNextToolData)
I'm not aware of a scripting function for reading the output_tool_list, look through the Mill Scripting Function reference manual located in your "C:\BobCAD-CAM Data\...\Posts\Documentation" folder. Hope this helps.
Steve
Steve
V28/29 4x Pro, Haas VF-3SSYT, Haas SL-30