gcode_is_opening()

Checks whether the software is currently in the process of opening a file.

Syntax

planetcnc.gcode_is_opening()

Parameters

Parameter Type Description
None

Return Value

Examples

#! /usr/bin/env python 
 
import planetcnc
 
if planetcnc.gcode_is_opening():
    print("The software is currently opening a file.")
else:
    print("The software is not opening a file.")

See also

gcode_is_ready
gcode_is_opening
gcode_is_running
gcode_close
gcode_open
gcode_load
gcode_line_add_allowed
gcode_line_add