Sets the manufacturing method for this Costing part.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function SetCostingMethod( _
ByVal BodyName As System.String, _
ByVal MethodType As System.Integer _
) As CostBody |
Visual Basic (Usage) | |
---|
Dim instance As ICostPart
Dim BodyName As System.String
Dim MethodType As System.Integer
Dim value As CostBody
value = instance.SetCostingMethod(BodyName, MethodType) |
Parameters
- BodyName
- Name of the Costing body (see Remarks)
- MethodType
- Manufacturing type as defined in swcMethodType_e
Return Value
Costing body
Example
Remarks
See Also
Availability
SOLIDWORKS Costing API 2015 SP0