Interface ITools
Gives access to machining tools.
Namespace: TopSolid.Cam.NC.Kernel.Automating
Assembly: TopSolid.Cam.NC.Kernel.Automating.dll
Syntax
public interface ITools
Methods
GetParameters(ElementId)
Gets the parameters of the given tool.
Declaration
List<ParameterId> GetParameters(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of the tool to analyze. |
Returns
Type | Description |
---|---|
List<ParameterId> | Tool parameters found. |
GetPdmId(ElementId)
Gets the PDM identifier.
Declaration
PdmObjectId GetPdmId(ElementId inToolId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inToolId | The in tool identifier. |
Returns
Type | Description |
---|---|
PdmObjectId |
IsTool(ElementId)
Tells whether an element is a tool.
Declaration
bool IsTool(ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inElementId | Identifier of the element to analyze. |
Returns
Type | Description |
---|---|
Boolean | True if the element is a tool. |