• 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 ICLDFile

A separate file of a CLData. Contains the list of CLData commands.

Namespace: DotnetPostprocessing.SDK
Assembly: DotnetPostprocessing.SDK.dll
Syntax
public interface ICLDFile

Properties

Caption

Textual label with a short description of the file.

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

Cmd

The list of commands in the CLData file. Allows to get a command by the index Cmd[0..CmdCount-1].

Declaration
ICLDFileCmdIndexer Cmd { get; }
Property Value
Type Description
ICLDFileCmdIndexer

CmdCount

The count of commands in this CLData file.

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

Enabled

The Enabled flag determines whether this file should be postprocessed or not.

Declaration
bool Enabled { get; }
Property Value
Type Description
bool

FileType

Describes the type of the CLData file (TechOperation, NCSub or CAMProject).

Declaration
CLDFileType FileType { get; }
Property Value
Type Description
CLDFileType

ID

Unique textual identifier of the file in the project.

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

Index

The index of this file in the list of files of the CLData project.

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

this[int]

The list of commands in the CLData file. Allows to get a command by the index [0..CmdCount-1].

Declaration
ICLDCommand this[int Index] { get; }
Parameters
Type Name Description
int Index

Index of the CLData command to get [0..CmdCount-1].

Property Value
Type Description
ICLDCommand

Returns the CLData command with the given index. If the index is incorrect it returns "Null".

Project

Reference to the CAM's CLData project in which this file is located.

Declaration
ICLDProject Project { get; }
Property Value
Type Description
ICLDProject

Methods

FindCommand(CLDCmdType, int)

Finds a CLData command with the given type starting from the specified index in this file.

Declaration
ICLDCommand FindCommand(CLDCmdType commandType, int searchFrom)
Parameters
Type Name Description
CLDCmdType commandType

The type of command to find.

int searchFrom

Searching start index.

Returns
Type Description
ICLDCommand

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

FindCommand(CLDCmdType, int, int)

Finds a CLData command with the given type in the range of commands in this file.

Declaration
ICLDCommand FindCommand(CLDCmdType commandType, int searchFrom, int searchTo)
Parameters
Type Name Description
CLDCmdType commandType

The type of command to find.

int searchFrom

Searching start index.

int searchTo

Searching finish index.

Returns
Type Description
ICLDCommand

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

GetCommandType(int)

Let's define the type of CLData command with the given index.

Declaration
CLDCmdType GetCommandType(int Index)
Parameters
Type Name Description
int Index

Index of the command to define the type.

Returns
Type Description
CLDCmdType

Returns the type of CLData command with the given index. If the index is incorrect then it returns "CLDCmdType.Unknown"

IndexOfCmd(CLDCmdType, int, int)

Finds an index of command with the given type in the range of commands in this file.

Declaration
int IndexOfCmd(CLDCmdType CommandType, int SearchFrom, int SearchTo)
Parameters
Type Name Description
CLDCmdType CommandType

The type of command to find.

int SearchFrom

Searching start index.

int SearchTo

Searching finish index.

Returns
Type Description
int

If the search is successful, it returns the index of the found command, otherwise it returns "-1".

IndexOfCmdName(string, int, int)

Finds an index of command with the given type name in the range of commands in this file.

Declaration
int IndexOfCmdName(string CommandTypeName, int SearchFrom, int SearchTo)
Parameters
Type Name Description
string CommandTypeName

The type name of command to find.

int SearchFrom

Searching start index.

int SearchTo

Searching finish index.

Returns
Type Description
int

If the search is successful, it returns the index of the found command, otherwise it returns "-1".

In this article
Back to top Generated by DocFX