• Articles
  • Api Documentation
Show / Hide Table of Contents
  • DotnetPostprocessing.SDK
    • ArcBreakMode
    • ArcSettings
    • BrakeAxesEnumerator
    • CLDArray
    • CLDAxisBrake
    • CLDCmdType
    • CLDCmdTypeExtensions
    • CLDConst
    • CLDCycle
    • CLDEDMMotionMode
    • CLDFeedKind
    • CLDFeedUnits
    • CLDFileType
    • CLDInterpMode
    • CLDMultiMotionAxis
    • CLDOriginPositionMode
    • CLDOriginType
    • CLDPlaneType
    • CLDRotationDir
    • CLDSpindleAction
    • CLDSpindleSpeedMode
    • CLDThreadOrient
    • CLDThreadUnits
    • CodeParamType
    • CommonFuncs
    • CountingNCWord
    • EDMRollMode
    • EPostprocessorException
    • IArrayNamedPropertyIndexer
    • IBinaryNCStorage
    • IBooleanNamedPropertyIndexer
    • ICLDAxesBrakeCommand
    • ICLDBrakeAxesIndexer
    • ICLDCircleCommand
    • ICLDClampCommand
    • ICLDCommand
    • ICLDCommentCommand
    • ICLDCoolantCommand
    • ICLDCoolantTubeIndexer
    • ICLDCutComCommand
    • ICLDCycleCommand
    • ICLDDelayCommand
    • ICLDEDMMoveCommand
    • ICLDEDMMoveSpan
    • ICLDEffectorCommand
    • ICLDExtCycleCommand
    • ICLDFeedrateCommand
    • ICLDFile
    • ICLDFileCmdIndexer
    • ICLDFileList
    • ICLDFiniCommand
    • ICLDFromCommand
    • ICLDGoHomeCommand
    • ICLDGotoCommand
    • ICLDInsertCommand
    • ICLDInterpolationCommand
    • ICLDLoadToolCommand
    • ICLDMachineAxesIndexer
    • ICLDMachineAxisInfo
    • ICLDMachineInfo
    • ICLDMachiningTool
    • ICLDMotionCommand
    • ICLDMoveVelocityCommand
    • ICLDMultiArcCommand
    • ICLDMultiArcPoint
    • ICLDMultiAxisArray
    • ICLDMultiGotoCommand
    • ICLDMultiMotionAxesIndexer
    • ICLDMultiMotionCommand
    • ICLDOpStopCommand
    • ICLDOriginCommand
    • ICLDPPFunCommand
    • ICLDPartNoCommand
    • ICLDPhysicGotoCommand
    • ICLDPlaneCommand
    • ICLDPowerCommand
    • ICLDPrintCommand
    • ICLDProject
    • ICLDRapidCommand
    • ICLDSelWorkpieceCommand
    • ICLDSinglePassThreadCommand
    • ICLDSpindleCommand
    • ICLDStopCommand
    • ICLDStructureCommand
    • ICLDSub
    • ICLDSubList
    • ICLDSyncAxesCommand
    • ICLDSyncWaitCommand
    • ICLDTLContactCommand
    • ICLDTakeoverCommand
    • ICLDTechOperation
    • ICLDTechOperationList
    • ICLDTranslator
    • ICodeParametersOfCLDCommand
    • ICodeParametersOfCLDCommandBooleanIndexer
    • ICodeParametersOfCLDCommandFloatIndexer
    • ICodeParametersOfCLDCommandIntegerIndexer
    • ICodeParametersOfCLDCommandStringIndexer
    • IFloatNamedPropertyIndexer
    • IInputBox
    • IInputBoxEnumValuesList<T>
    • IInputBoxFactory
    • IInputBoxProperty
    • IIntegerNamedPropertyIndexer
    • INCBlockOwner
    • INCFileOwner
    • INCLabel
    • INCStorage
    • INCStorageManager
    • INamedPropertiesCollection
    • INamedProperty
    • INamedPropertyIndexer
    • IPPFunTechInfo
    • IPPFunTechInfoPart
    • IPPFunTechInfoSetupStage
    • IPPFunTechInfoTool
    • IPPFunTechInfoWorkpiece
    • IPostprocessingLogReceiver
    • IStringNamedPropertyIndexer
    • ITextNCStorage
    • IToolGeometry
    • InitNamesProc
    • InpArray<T>
    • InpNumber
    • InputBoxEnumValuesFormer<T>
    • InputBoxValueSetter<T>
    • Log
    • LogMessageType
    • MsgBtnSet
    • MsgClickedBtn
    • MsgDefBtn
    • MsgType
    • MultiMotionAxesEnumerator
    • NCBlock
    • NCBlockWordsEnumerator
    • NCLabelSnapMode
    • NCWord
    • NCWordDecPoint
    • NCWordSign
    • NCWordState
    • NCWordTextCase
    • NamedParamType
    • NamedPropIterator
    • NumericNCWord
    • PostprocessorSettings
    • TBinaryNCFile
    • TExternalNCFile
    • TInp2DPoint
    • TInp3DPoint
    • TInp5DPoint
    • TInpComplexRotationConvention
    • TInpLocation
    • TInpQuaternion
    • TInpRotation
    • TInpRotationConvention
    • TNCFile
    • TNCFilesManager
    • TNCStorageType
    • TPostprocessor
    • TSimpleTextNCFile
    • TTextNCFile
    • TextNCWord
    • TrailingZeroesMode
    • TranslitPair
    • TransliterationTable
    • Transliterator
  • GeneralUtils.STDefLib
    • AngleUnits
    • STDef
  • Geometry.GeWatchDNClient
    • STGeWatch
    • STGeWatchClient
  • Geometry.VecMatrLib
    • EVecMatrLibError
    • GWConsts
    • ISTGeWatch
    • ISTGeWatchClient
    • ISTGeWatchable
    • T2DPoint
    • T3DArc
    • T3DCut
    • T3DMatrix
    • T3DPoint
    • T5DPoint
    • TComplexRotationConvention
    • TLocation
    • TQuaternion
    • TRotation
    • TRotationConvention
    • TRotationsConverter
    • VML
  • IPCUtils.SharedMemIPC
    • DelayedProcedure
    • HandleRequestProc
    • HandleStreamProc
    • IPCStream
    • SharedMemClient
    • SharedMemObject
    • SharedMemServer
    • SharememUtils
  • STTypes
    • IST_2DBox
    • IST_2DMatrix
    • IST_2DPoint
    • IST_3DBox
    • IST_3DMatrix
    • IST_3DPoint
    • IST_5DPoint
    • IST_MeasurableObject
    • IST_UpdateStamp
    • TST2DBox
    • TST2DLine
    • TST2DMatrix
    • TST2DPoint
    • TST2IPoint
    • TST2SPoint
    • TST3DBox
    • TST3DLine
    • TST3DMatrix
    • TST3DPoint
    • TST3DVec
    • TST3IPoint
    • TST3SMatrix
    • TST3SPoint
    • TST5DPoint
    • TSTLinearUnits
    • TSTSystemUnits
    • TST_LinearMeasure
    • enumTST_LinearMeasure
    • tagTST2DBox
    • tagTST2DLine
    • tagTST2DMatrix
    • tagTST2DPoint
    • tagTST2IPoint
    • tagTST2SPoint
    • tagTST3DBox
    • tagTST3DLine
    • tagTST3DMatrix
    • tagTST3DPoint
    • tagTST3IPoint
    • tagTST3SMatrix
    • tagTST3SPoint
    • tagTST5DPoint
    • tagTSTLinearUnits
    • tagTSTSystemUnits

Interface ICLDCommand

Common ancestor for all CLData commands

Inherited Members
INamedProperty.FindChild(string)
INamedProperty.GetNextChild(INamedProperty)
INamedProperty.Parent
INamedProperty.Name
INamedProperty.SimpleType
INamedProperty.ValueAsString
INamedProperty.ValueAsDouble
INamedProperty.ValueAsInteger
INamedProperty.ValueAsBoolean
INamedProperty.Ptr
INamedProperty.Arr
INamedProperty.Str
INamedProperty.Int
INamedProperty.Flt
INamedProperty.Bol
Namespace: DotnetPostprocessing.SDK
Assembly: DotnetPostprocessing.SDK.dll
Syntax
public interface ICLDCommand : INamedProperty

Properties

CLD

CLD-array of the command parameters. The set depends on the type of command.

Declaration
CLDArray CLD { get; }
Property Value
Type Description
CLDArray

CLDFile

The CLData file in which this command is located.

Declaration
ICLDFile CLDFile { get; }
Property Value
Type Description
ICLDFile

CLDSub

The CLDSub in which this command is located. Can be null if the command is a regular technological operation's command.

Declaration
ICLDSub CLDSub { get; }
Property Value
Type Description
ICLDSub

CLDataS

Textual data of the command. The meaning of the data depend on the type of command.

Declaration
string CLDataS { get; }
Property Value
Type Description
string

Caption

The name of the CLData command that appears in windows

Declaration
string Caption { get; }
Property Value
Type Description
string

CmdType

The type of the CLData command (feedrate, goto, circle, spindle etc.)

Declaration
CLDCmdType CmdType { get; }
Property Value
Type Description
CLDCmdType

CmdTypeCode

The numeric type code of the CLData command. It is unique for each command type (feedrate, goto, circle, spindle etc.)

Declaration
int CmdTypeCode { get; }
Property Value
Type Description
int

Index

The index of the CLData command in file of CLData

Declaration
int Index { get; }
Property Value
Type Description
int

Next

The next CLData command from the same file. Null for the last command of a file.

Declaration
ICLDCommand Next { get; }
Property Value
Type Description
ICLDCommand

NextMotion

The next motion CLData command from the same file. Null if there are no motion commands below.

Declaration
ICLDMotionCommand NextMotion { get; }
Property Value
Type Description
ICLDMotionCommand

Prev

The previous CLData command from the same file. Null for the first command of a file.

Declaration
ICLDCommand Prev { get; }
Property Value
Type Description
ICLDCommand

PrevMotion

The previous motion CLData command from the same file. Null if there are no motion commands above.

Declaration
ICLDMotionCommand PrevMotion { get; }
Property Value
Type Description
ICLDMotionCommand

TechOperation

The technological operation in which this command is located. Can be null if the command is from a CLDSub.

Declaration
ICLDTechOperation TechOperation { get; }
Property Value
Type Description
ICLDTechOperation

Methods

FindNextCommand(CLDCmdType)

Finds a nearest command of the given type in the same CLData file following after this command up to the end of the file.

Declaration
ICLDCommand FindNextCommand(CLDCmdType commandType)
Parameters
Type Name Description
CLDCmdType commandType

The type of command to find.

Returns
Type Description
ICLDCommand

If the search is successful, it returns the found command, otherwise it returns "Null".

FindNextCommand(CLDCmdType, int)

Finds a nearest command of the given type in the same CLData file following after this command by the specified offset up to the end of the file.

Declaration
ICLDCommand FindNextCommand(CLDCmdType commandType, int offset)
Parameters
Type Name Description
CLDCmdType commandType

The type of command to find.

int offset

Offset for the index in file of the command to start searching. Zero means start from this command, one - from the next command etc.

Returns
Type Description
ICLDCommand

If the search is successful, it returns the found command, otherwise it returns "Null".

FindNextCommand(CLDCmdType, int, int)

Finds a nearest command of the given type in the same CLData file following after this command by the specified offset.

Declaration
ICLDCommand FindNextCommand(CLDCmdType commandType, int offset, int commandCount)
Parameters
Type Name Description
CLDCmdType commandType

The type of command to find.

int offset

Offset for the index in file of the command to start searching. Zero means start from this command, one - from the next command etc.

int commandCount

Maximal count of commands to check.

Returns
Type Description
ICLDCommand

If the search is successful, it returns the found command, otherwise it returns "Null".

FindNextCommandOfProject(CLDCmdType)

Finds a nearest command of the given type in the all CLData files following after this command.

Declaration
ICLDCommand FindNextCommandOfProject(CLDCmdType commandType)
Parameters
Type Name Description
CLDCmdType commandType

The type of command to find.

Returns
Type Description
ICLDCommand

If the search is successful, it returns the found command, otherwise it returns "Null".

FindNextCommandOfProject(CLDCmdType, int)

Finds a nearest command of the given type in the all CLData files following after this command by the specified offset.

Declaration
ICLDCommand FindNextCommandOfProject(CLDCmdType commandType, int offset)
Parameters
Type Name Description
CLDCmdType commandType

The type of command to find.

int offset

Offset for the index in file of the command to start searching. Zero means start from this command, one - from the next command etc.

Returns
Type Description
ICLDCommand

If the search is successful, it returns the found command, otherwise it returns "Null".

FindNextCommandOfProject(CLDCmdType, int, int)

Finds a nearest command of the given type in the all CLData files following after this command by the specified offset.

Declaration
ICLDCommand FindNextCommandOfProject(CLDCmdType commandType, int offset, int commandCount)
Parameters
Type Name Description
CLDCmdType commandType

The type of command to find.

int offset

Offset for the index in file of the command to start searching. Zero means start from this command, one - from the next command etc.

int commandCount

Maximal count of commands to check.

Returns
Type Description
ICLDCommand

If the search is successful, it returns the found command, otherwise it returns "Null".

FindNextCommandOfProject(CLDCmdType, int, int, int)

Finds a nearest command of the given type in the all CLData files following after this command by the specified offsets.

Declaration
ICLDCommand FindNextCommandOfProject(CLDCmdType commandType, int fileOffset, int cmdOffset, int commandCount)
Parameters
Type Name Description
CLDCmdType commandType

The type of command to find.

int fileOffset

Offset for the index of file in the project's files list to start searching. Zero means start from the file of this command, one - from the next file etc.

int cmdOffset

Offset for the index in file of the command to start searching. If the fileOffset is zero then cmdOffset zero means start from this command, one - from the next command etc. If the fileOffset is greater than zero then cmdOffset zero means start from the first command in file, one - from the second command etc.

int commandCount

Maximal count of commands to check.

Returns
Type Description
ICLDCommand

If the search is successful, it returns the found command, otherwise it returns "Null".

In this article
Back to top Generated by DocFX