open_file()

Opens a G-Code program from a specified file.

Syntax

open_file(filepath)

Parameters

Parameter Type Description
filepath String The full path to the G-Code file to open.

Return Value

Examples

Open a G-Code file

open_file("C:/gcode/sample.nc");

Open another G-Code file

open_file("/home/user/gcode/project.gcode");

See also

open_file
open_code
start_file
start_code
test_file
test_code