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

CLD subroutine - the list of CLData commands which is not called (translate) by the translating system directly, but it can be called for translation by the postprocessor developer using special "Translate" method from any other handler inside postprocessor. Usually you need to convert it into subroutine of format that the controller understands.

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

Properties

CLDFile

Reference to the CLData file of this CLD subroutine.

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

Data

Auxiliary object type property that can be associated with the CLDSub and can be used by the postprocessor developer for his own purposes. For example, you can write here the link to the resulting NCFile or link to any custom object with an information about the subroutine.

Declaration
object Data { get; set; }
Property Value
Type Description
object

EndCaption

Auxiliary textual property that can be used by the postprocessor developer for his own purposes. For example, you can write here an output line number where the subroutine ends.

Declaration
string EndCaption { get; set; }
Property Value
Type Description
string

EndLabel

Special INCLabel object that can be used to remember position in the output file in which the subroutine ends. Later you can return to this position to add some additional data to it.

Declaration
INCLabel EndLabel { get; set; }
Property Value
Type Description
INCLabel

Name

The name of the subroutine that is generated by CAM or specified by the user.

Declaration
string Name { get; set; }
Property Value
Type Description
string

StartCaption

Auxiliary textual property that can be used by the postprocessor developer for his own purposes. For example, you can write here an output line number where the subroutine starts.

Declaration
string StartCaption { get; set; }
Property Value
Type Description
string

StartLabel

Special INCLabel object that can be used to remember position in the output file in which the subroutine starts. Later you can return to this position to add some additional data to it.

Declaration
INCLabel StartLabel { get; set; }
Property Value
Type Description
INCLabel

SubCode

Unique numerical identifier of the subroutine in the project's list of subroutines.

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

Tag

Auxiliary numerical tag that can be used by the postprocessor developer for his own purposes. For example, you can write here the resulting subroutine number or a line number where it starts.

Declaration
int Tag { get; set; }
Property Value
Type Description
int

Translated

This flag is "true" only if the subroutine has already been translated.

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

Methods

Translate()

This method can be called by the postprocessor developer to start translation of commands inside this subroutine. Usually you should do it inside OnCallNCSub, OnStartProject, OnFinishProject or OnExtCycle handlers. After translation the subroutine will be marked as Translated.

Declaration
void Translate()

Translate(bool)

This method can be called by the postprocessor developer to start translation of commands inside this subroutine. Usually you should do it inside OnCallNCSub, OnStartProject, OnFinishProject or OnExtCycle handlers.

Declaration
void Translate(bool markTranslated)
Parameters
Type Name Description
bool markTranslated

With this parameter, you must explicitly indicate whether the subroutine should be marked as Translated.

In this article
Back to top Generated by DocFX