Table of Contents

Class NcTagEdit

Namespace
Hi.NcParsers.NcWriteback
Assembly
HiMech.dll

A single anchored tag edit for NcPatchWriter: set the tag to the value (NaN deletes the token). A null format resolves to the writer's per-tag default (FeedrateFormat for F, CoordinateFormat otherwise).

public record NcTagEdit : IEquatable<NcTagEdit>
Inheritance
NcTagEdit
Implements
Inherited Members
Extension Methods

Constructors

NcTagEdit(string, double, string)

A single anchored tag edit for NcPatchWriter: set the tag to the value (NaN deletes the token). A null format resolves to the writer's per-tag default (FeedrateFormat for F, CoordinateFormat otherwise).

public NcTagEdit(string Tag, double Value, string Format = null)

Parameters

Tag string

Tag to address, e.g. “F”, “X”.

Value double

New value; NaN deletes the token.

Format string

Numeric format (see FormatTagNumber(double, string)); null picks the writer's per-tag default.

Properties

Format

Numeric format (see FormatTagNumber(double, string)); null picks the writer's per-tag default.

public string Format { get; init; }

Property Value

string

Tag

Tag to address, e.g. “F”, “X”.

public string Tag { get; init; }

Property Value

string

Value

New value; NaN deletes the token.

public double Value { get; init; }

Property Value

double