Class MachinesLibraryHelper
Helper methods for ICamApiMachinesLibrary
Inherited Members
Namespace: CAMAPI.DotnetHelper
Assembly: CAMAPI.DotnetHelper.dll
Syntax
public static class MachinesLibraryHelper
Methods
CurrentMachine(ComWrapper<ICamApiMachinesLibrary>)
Current project machine (read-only)
Declaration
public static ComWrapper<ICamApiMachineInfo> CurrentMachine(this ComWrapper<ICamApiMachinesLibrary> machinesLibraryCom)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiMachinesLibrary> | machinesLibraryCom | Machines library |
Returns
| Type | Description |
|---|---|
| ComWrapper<ICamApiMachineInfo> |
FindMachine(ComWrapper<ICamApiMachinesLibrary>, Guid, string, string)
Try to find best matching machine by guid, optional filePath and typeName
Declaration
public static ComWrapper<ICamApiMachineInfo> FindMachine(this ComWrapper<ICamApiMachinesLibrary> machinesLibraryCom, Guid guid, string filePath, string typeName)
Parameters
| Type | Name | Description |
|---|---|---|
| ComWrapper<ICamApiMachinesLibrary> | machinesLibraryCom | Machines library |
| Guid | guid | Machine schema GUID |
| string | filePath | Optional path to machine schema file |
| string | typeName | Optional machine type name |
Returns
| Type | Description |
|---|---|
| ComWrapper<ICamApiMachineInfo> |