Share

CombineFeatures.Add Method

Parent Object: CombineFeatures

Description

Method that creates a new combine feature. If the combine feature is created successfully, a CombineFeature object corresponding to the newly created combine feature is returned.

Syntax

CombineFeatures.Add( BaseBody As SurfaceBody, ToolBodies As ObjectCollection, Operation As PartFeatureOperationEnum, [KeepToolBodies] As Boolean ) As CombineFeature

Parameters

Name Type Description
BaseBody SurfaceBody Input SurfaceBody object that represents the blank body. This must be a solid body.
ToolBodies ObjectCollection Input ObjectCollection containing one or more SurfaceBody objects that represent the tool bodies. All tool bodies must be solid.
Operation PartFeatureOperationEnum Input constant that indicates the Boolean operation type for combine. Valid input values are kJoinOperation, kCutOperation and kIntersectOperation.
KeepToolBodies Boolean Optional input Boolean that specifies whether or not to retain the tool bodies. If not specified, the argument defaults to False and the tool bodies are consumed (i.e. not retained).

This is an optional argument whose default value is False.

Version

Introduced in version 2010

Was this information helpful?