Interface ICamApiApplication
Instance of CAM application
Namespace: SprutCAMTech.CAMAPI.Application
Assembly: SprutCAMTech.CAMAPI.Application.dll
Syntax
[Guid("79A78312-DA90-46E8-8418-C4E71BBD1627")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface ICamApiApplication
Properties
ExecutablePath
Declaration
string ExecutablePath { get; }
Property Value
LogFilePath
Returns path to the log file name of SprutCAM
Declaration
string LogFilePath { get; }
Property Value
MainForm
Declaration
ICamApiApplicationMainForm MainForm { get; }
Property Value
Methods
ExportCurrentProject(string, out TResultStatus)
Declaration
void ExportCurrentProject(string TargetFileName, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
string |
TargetFileName |
|
TResultStatus |
ResultStatus |
|
GetActiveProject(out TResultStatus)
Declaration
ICamApiProject GetActiveProject(out TResultStatus ResultStatus)
Parameters
Returns
GetExtensionManager(out TResultStatus)
Declaration
IExtensionManager GetExtensionManager(out TResultStatus ResultStatus)
Parameters
Returns
OpenProject(string, bool, out TResultStatus)
Declaration
void OpenProject(string FileName, bool AddToReOpen, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
string |
FileName |
|
bool |
AddToReOpen |
|
TResultStatus |
ResultStatus |
|
RegisterEventsHandler(string, ICamApiHandlerEvents, out TResultStatus)
Declaration
void RegisterEventsHandler(string HandlerIdent, ICamApiHandlerEvents Handler, out TResultStatus ResultStatus)
Parameters
SaveCurrentProject(string, out TResultStatus)
Declaration
void SaveCurrentProject(string FileName, out TResultStatus ResultStatus)
Parameters
UnregisterEventsHandler(string, out TResultStatus)
Declaration
void UnregisterEventsHandler(string HandlerIdent, out TResultStatus ResultStatus)
Parameters
Type |
Name |
Description |
string |
HandlerIdent |
|
TResultStatus |
ResultStatus |
|