Interface IWireTechnologies
Gives access to wire technologies.
Namespace: TopSolid.Cam.NC.Wire.Automating
Assembly: TopSolid.Cam.NC.Wire.Automating.dll
Syntax
[ServiceContract]
public interface IWireTechnologies
Methods
AddWireCuttingCondition(ElementId)
Add a wire cutting conditions entity in a wire technology.
Declaration
[OperationContract]
ElementId AddWireCuttingCondition(ElementId inTechnologyId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the wire technology to modify. |
Returns
Type | Description |
---|---|
ElementId | Identifier of the created wire cutting condition entity. |
GetDepthCutting(ElementId)
Get depth cutting.
Declaration
[OperationContract]
SmartReal GetDepthCutting(ElementId inTechnologyId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the element to modify. |
Returns
Type | Description |
---|---|
SmartReal | Depth cutting in SI units. |
GetMaterialDepthMaxi(ElementId)
Set material depth maxi.
Declaration
[OperationContract]
SmartReal GetMaterialDepthMaxi(ElementId inTechnologyId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the technology to modify. |
Returns
Type | Description |
---|---|
SmartReal | Material depth maxi in SI units. |
GetName(ElementId)
Get technology name.
Declaration
[OperationContract]
SmartText GetName(ElementId inTechnologyId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the technology to modify. |
Returns
Type | Description |
---|---|
SmartText | Technology name. |
GetRegimeNumber(ElementId)
Get regime number.
Declaration
[OperationContract]
SmartInteger GetRegimeNumber(ElementId inTechnologyId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the technology to modify. |
Returns
Type | Description |
---|---|
SmartInteger | Regime number. |
GetType(ElementId)
Get technology type.
Declaration
[OperationContract]
TechnologyType GetType(ElementId inTechnologyId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the technology to modify. |
Returns
Type | Description |
---|---|
TechnologyType | Technology type. |
GetWireCuttingConditions(ElementId)
Get the list of wire cutting condition in the technology entity.
Declaration
[OperationContract]
List<ElementId> GetWireCuttingConditions(ElementId inTechnologyId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the wire technology to analyse. |
Returns
Type | Description |
---|---|
List<ElementId> | List of all wire technology. |
IsWireTechnology(ElementId)
Tells whether an element is an wire technology.
Declaration
[OperationContract]
bool IsWireTechnology(ElementId inTechnologyId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the technology to analyze. |
Returns
Type | Description |
---|---|
Boolean | True if the element is an origin. |
RemoveAllWireCuttingConditions(ElementId)
Add a wire cutting conditions entity in a wire technology.
Declaration
[OperationContract]
void RemoveAllWireCuttingConditions(ElementId inTechnologyId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the wire technology to modify. |
RemoveWireCuttingCondition(ElementId, ElementId)
Add a wire cutting conditions entity in a wire technology.
Declaration
[OperationContract]
void RemoveWireCuttingCondition(ElementId inTechnologyId, ElementId inElementId)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the wire technology to modify. |
ElementId | inElementId | Identifier of the element to remove. |
SetDepthCutting(ElementId, SmartReal)
Set depth cutting.
Declaration
[OperationContract]
void SetDepthCutting(ElementId inTechnologyId, SmartReal inDepthCutting)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the element to modify. |
SmartReal | inDepthCutting | Depth cutting in SI units. |
Remarks
StartModification(String, Boolean) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
SetMaterialDepthMaxi(ElementId, SmartReal)
Set material depth maxi.
Declaration
[OperationContract]
void SetMaterialDepthMaxi(ElementId inTechnologyId, SmartReal inMaterialDepthMaxi)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the technology to modify. |
SmartReal | inMaterialDepthMaxi | Material depth maxi in SI units. |
Remarks
StartModification(String, Boolean) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
SetName(ElementId, SmartText)
Set technology name.
Declaration
[OperationContract]
void SetName(ElementId inTechnologyId, SmartText inTechnoName)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the technology to modify. |
SmartText | inTechnoName | Technology name. |
Remarks
StartModification(String, Boolean) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
SetRegimeNumber(ElementId, SmartInteger)
Set regime number.
Declaration
[OperationContract]
void SetRegimeNumber(ElementId inTechnologyId, SmartInteger inRegimeNumber)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the technology to modify. |
SmartInteger | inRegimeNumber | Regime number. |
Remarks
StartModification(String, Boolean) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
SetType(ElementId, TechnologyType)
Set technology type.
Declaration
[OperationContract]
void SetType(ElementId inTechnologyId, TechnologyType inTechnoType)
Parameters
Type | Name | Description |
---|---|---|
ElementId | inTechnologyId | Identifier of the technology to modify. |
TechnologyType | inTechnoType | Technology type. |
Remarks
StartModification(String, Boolean) and EnsureIsDirty(ref DocumentId) must be called before calling this method.