Interface ICLDProject
CAM's CLData project. The main content is a list of files each of which contains the list of CLData commands.
Inherited Members
Namespace: DotnetPostprocessing.SDK
Assembly: DotnetPostprocessing.SDK.dll
Syntax
public interface ICLDProject : INamedProperty
Properties
CLDFiles
The list of CLData file. Allows to get the file by it's index and the count of files.
Declaration
ICLDFileList CLDFiles { get; }
Property Value
Type | Description |
---|---|
ICLDFileList |
CLDSub
The list of CLD-subroutines of this project.
Declaration
ICLDSubList CLDSub { get; }
Property Value
Type | Description |
---|---|
ICLDSubList |
FilePath
Returns the full path of the project's file. Can be empty if the project still doesn't saved to a file.
Declaration
string FilePath { get; }
Property Value
Type | Description |
---|---|
string |
Machine
Auxiliary object to get some properties of the machine like the machine name, type group and the list of axes.
Declaration
ICLDMachineInfo Machine { get; }
Property Value
Type | Description |
---|---|
ICLDMachineInfo |
Operations
The list of CAM's technological operations of this project.
Declaration
ICLDTechOperationList Operations { get; }
Property Value
Type | Description |
---|---|
ICLDTechOperationList |
ProjectName
Returns the name of the project (without a file path).
Declaration
string ProjectName { get; }
Property Value
Type | Description |
---|---|
string |
Methods
FindCommand(CLDCmdType, int, int)
Finds a CLData command with the given type starting from the specified file and command indexes inside this project.
Declaration
ICLDCommand FindCommand(CLDCmdType commandType, int startFile, int startCommand)
Parameters
Type | Name | Description |
---|---|---|
CLDCmdType | commandType | The type of command to find. |
int | startFile | Searching start file index. |
int | startCommand | Searching start command index. |
Returns
Type | Description |
---|---|
ICLDCommand | If the search is successful, it returns the found command, otherwise it returns "Null". |