Interface ICLDProject
SprutCAM's CLData project. The main content is a list of files each of which contains the list of CLData commands.
Inherited Members
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.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 |
---|---|
System.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 SprutCAM'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 |
---|---|
System.String |
Methods
FindCommand(CLDCmdType, Int32, Int32)
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. |
System.Int32 | startFile | Searching start file index. |
System.Int32 | startCommand | Searching start command index. |
Returns
Type | Description |
---|---|
ICLDCommand | If the search is successful, it returns the found command, otherwise it returns "Null". |