Gets whether to include the specified Costing body in this Costing part in the Costing analysis.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function IncludeBody( _
ByVal BodyName As System.String, _
ByVal Include As System.Boolean _
) As System.Integer |
Visual Basic (Usage) | |
---|
Dim instance As ICostPart
Dim BodyName As System.String
Dim Include As System.Boolean
Dim value As System.Integer
value = instance.IncludeBody(BodyName, Include) |
C++/CLI | |
---|
System.int IncludeBody(
& System.String^ BodyName,
& System.bool Include
) |
Parameters
- BodyName
- Name of the Costing body
- Include
- True to include the Costing body in this Costing part in the Costing analysis, false to exclude the Costing body in this Costing part in the Costing analysis
Return Value
Status as defined in
swcBodyStatus_e
Remarks
See Also
Availability
SOLIDWORKS Costing API 2013 SP0