Class IMTI_MachiningToolsItemExtension
Inheritance
object
IMTI_MachiningToolsItemExtension
Namespace: CAMAPI.MachiningToolsImportHelper
Assembly: STMachiningToolsImportHelper.dll
Syntax
public static class IMTI_MachiningToolsItemExtension : Object
Methods
GetCADModelAdapterPath(IMTI_MachiningToolsItem)
Declaration
public static string GetCADModelAdapterPath(this IMTI_MachiningToolsItem tool)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool |
Returns
Type | Description |
---|---|
string |
GetCuttingConditions(IMTI_MachiningToolsItem)
Declaration
public static IMTI_MachiningToolCuttingConditions GetCuttingConditions(this IMTI_MachiningToolsItem tool)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool |
Returns
Type | Description |
---|---|
IMTI_MachiningToolCuttingConditions |
GetDurability(IMTI_MachiningToolsItem)
Declaration
public static double GetDurability(this IMTI_MachiningToolsItem tool)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool |
Returns
Type | Description |
---|---|
double |
GetIdentifier(IMTI_MachiningToolsItem)
Declaration
public static string GetIdentifier(this IMTI_MachiningToolsItem tool)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool |
Returns
Type | Description |
---|---|
string |
GetMagazineNumber(IMTI_MachiningToolsItem)
Declaration
public static int GetMagazineNumber(this IMTI_MachiningToolsItem tool)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool |
Returns
Type | Description |
---|---|
int |
GetName(IMTI_MachiningToolsItem)
Declaration
public static string GetName(this IMTI_MachiningToolsItem tool)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool |
Returns
Type | Description |
---|---|
string |
GetToolNumber(IMTI_MachiningToolsItem)
Declaration
public static int GetToolNumber(this IMTI_MachiningToolsItem tool)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool |
Returns
Type | Description |
---|---|
int |
GetUnits(IMTI_MachiningToolsItem)
Declaration
public static TMTI_LinearUnits GetUnits(this IMTI_MachiningToolsItem tool)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool |
Returns
Type | Description |
---|---|
TMTI_LinearUnits |
SetCADModelAdapterPath(IMTI_MachiningToolsItem, string)
Declaration
public static void SetCADModelAdapterPath(this IMTI_MachiningToolsItem tool, string path)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool | |
string | path |
SetDurability(IMTI_MachiningToolsItem, double)
Declaration
public static void SetDurability(this IMTI_MachiningToolsItem tool, double value)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool | |
double | value |
SetIdentifier(IMTI_MachiningToolsItem, string)
Declaration
public static void SetIdentifier(this IMTI_MachiningToolsItem tool, string id)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool | |
string | id |
SetMagazineNumber(IMTI_MachiningToolsItem, int)
Declaration
public static void SetMagazineNumber(this IMTI_MachiningToolsItem tool, int number)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool | |
int | number |
SetName(IMTI_MachiningToolsItem, string)
Declaration
public static void SetName(this IMTI_MachiningToolsItem tool, string name)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool | |
string | name |
SetToolNumber(IMTI_MachiningToolsItem, int)
Declaration
public static void SetToolNumber(this IMTI_MachiningToolsItem tool, int number)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool | |
int | number |
SetUnits(IMTI_MachiningToolsItem, TMTI_LinearUnits)
Declaration
public static void SetUnits(this IMTI_MachiningToolsItem tool, TMTI_LinearUnits units)
Parameters
Type | Name | Description |
---|---|---|
IMTI_MachiningToolsItem | tool | |
TMTI_LinearUnits | units |