Table of Contents

Class SoftNcUtil

Namespace
Hi.Numerical.SoftParsers
Assembly
HiMech.dll
public static class SoftNcUtil
Inheritance
SoftNcUtil
Inherited Members

Methods

GrabFlag(ref string, string)

Grabs and removes a flag from the NC text.

public static bool GrabFlag(ref string text, string regexTag)

Parameters

text string

The NC text to search and modify.

regexTag string

The flag tag to search for.

Returns

bool

True if the flag was found and removed; otherwise, false.

GrabFlags(ref string, IEnumerable<string>)

public static bool GrabFlags(ref string text, IEnumerable<string> tags)

Parameters

text string
tags IEnumerable<string>

Returns

bool

HasAnyFlag(string, IEnumerable<string>)

public static bool HasAnyFlag(string text, IEnumerable<string> flags)

Parameters

text string
flags IEnumerable<string>

Returns

bool

HasAnyFlag(string, string)

public static bool HasAnyFlag(string text, string flag)

Parameters

text string
flag string

Returns

bool