Enum CodeFlags
Code bits to classify G/M/T-codes
Namespace: DuetAPI.Commands
Assembly: DuetAPI.dll
Syntax
[Flags]
public enum CodeFlags
Fields
| Name | Description |
|---|---|
| Asynchronous | Code execution finishes as soon as it is enqueued in the code queue |
| EnforceAbsolutePosition | Enforce absolute positioning via prefixed G53 code |
| IsFromConfig | Code comes from config.g or config.g.bak |
| IsFromConfigOverride | Code comes from config-override.g |
| IsFromFirmware | Indicates if this code was requested from the firmware |
| IsFromMacro | Code originates from a macro file |
| IsInternallyProcessed | Code has been processed internally (if this is set the internal execution of a code is skipped) |
| IsLastCode | Indicates if this is the last code on the line |
| IsNestedMacro | Code originates from a system macro file (i.e. RRF requested it) |
| IsPostProcessed | Code has been postprocessed (i.e. it has been processed by the internal DCS code processor) |
| IsPreProcessed | Code has been preprocessed (i.e. it has been processed by the DCS pre-side code interceptors) |
| IsPrioritized | Execute this code as quickly as possible and skip codes that have the Unbuffered flag set |
| None | Placeholder to indicate that no flags are set |
| Unbuffered | Do NOT process another code on the same channel before this code has been fully executed. Note that priority codes may still override codes that have this flag set |