Class CLDCmdTypeExtensions
Extention to add more convenient methods for CLDCmdType enumeration.
Inheritance
object
CLDCmdTypeExtensions
Namespace: SprutCAMTech.SCPostprocessor
Assembly: SprutCAMTech.SCPostprocessor.dll
Syntax
public static class CLDCmdTypeExtensions : Object
Methods
IsMovement(CLDCmdType)
Returns "True" if the cpecified cmdType is a movement command type (GOTO, MULTIGOTO, CIRCLE, etc.). Otherwise returns "False".
Declaration
public static bool IsMovement(this CLDCmdType cmdType)
Parameters
Type | Name | Description |
---|---|---|
CLDCmdType | cmdType | Command type value to check. |
Returns
Type | Description |
---|---|
bool | Returns "True" for a movements only. |
IsMoveVelocity(CLDCmdType)
Returns "True" if the cpecified cmdType is a movement velocity command type (FEDRAT or RAPID). Otherwise returns "False".
Declaration
public static bool IsMoveVelocity(this CLDCmdType cmdType)
Parameters
Type | Name | Description |
---|---|---|
CLDCmdType | cmdType | Command type value to check. |
Returns
Type | Description |
---|---|
bool | Returns "True" for a movements velocity commands only. |