Activates the specified Costing body in the Costing part, which allows modifications to its Costing analysis.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ActivateBody( _
ByVal BodyName As System.String, _
ByRef Errors As System.Integer _
) As CostBody |
Visual Basic (Usage) | |
---|
Dim instance As ICostPart
Dim BodyName As System.String
Dim Errors As System.Integer
Dim value As CostBody
value = instance.ActivateBody(BodyName, Errors) |
C# | |
---|
CostBody ActivateBody(
System.string BodyName,
out System.int Errors
) |
C++/CLI | |
---|
CostBody^ ActivateBody(
& System.String^ BodyName,
& [Out] System.int Errors
) |
Parameters
- BodyName
- Name of Costing body to activate or an empty string to activate the common Cost analysis for this Costing part (see Remarks)
- Errors
- Status as defined in swcActivateBodyResult_e
Return Value
Costing body
Remarks
See Also
Availability
SOLIDWORKS Costing API 2013 SP0