Interface IMTI_MachiningToolAssemblyComposition
Item-by-item composition of a tool assembly. The data is not used by the CAM system itself: it is filled by an importer, travels with the tool and is reported to external systems through ICamApiMachiningTool.GetAssemblyItemsJSON. When the composition is empty, the CAM system reports the composition it derives from the tool parameters.
Namespace: MachinigToolsImportTypes
Assembly: MachinigToolsImportTypes.dll
Syntax
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
[Guid("3DA206B4-4163-4950-8BF2-4CF7F72533F5")]
public interface IMTI_MachiningToolAssemblyComposition
Methods
AddItem(string, string, TMTI_AssemblyItemType, string, string, string, string)
Declaration
void AddItem(string NodeID, string ParentNodeID, TMTI_AssemblyItemType ItemType, string ItemName, string ItemCode, string ClassCode, string SourceID)
Parameters
| Type | Name | Description |
|---|---|---|
| string | NodeID | |
| string | ParentNodeID | |
| TMTI_AssemblyItemType | ItemType | |
| string | ItemName | |
| string | ItemCode | |
| string | ClassCode | |
| string | SourceID |
Clear()
Remove the composition described so far, so it can be filled again
Declaration
void Clear()
SetAssemblyInfo(string, string, string, string)
Describe the assembly as a whole
Declaration
void SetAssemblyInfo(string SourceSystem, string AssemblyName, string AssemblyCode, string AssemblyID)
Parameters
| Type | Name | Description |
|---|---|---|
| string | SourceSystem | System the assembly comes from |
| string | AssemblyName | Assembly name in the source system |
| string | AssemblyCode | Assembly code or designation in the source system |
| string | AssemblyID | Assembly identifier in the source system |