BcPost.RunBlock(blockNum)

Description

This function is utilized to process a line of standard BobCAD posting variables.  Input must be a string formatted exactly as a posting line using system posting variables. (Example: “n, rapid_move, xr, yr, ‘M08’”). 

The system post processes these variables as it would by using the posting engine and outputs the posted string to the posted NC file. 

Parameters

  • blockNum – integer value of the posting block that should be called

Examples


-- Call block 12. Cutter compensation left to output cutter comp on

BcPost.RunBlock(12)