Share

SweepFeatures.CreateSweepDefinition Method

Parent Object: SweepFeatures

Description

Method that creates the SweepDefinition object.

Syntax

SweepFeatures.CreateSweepDefinition( SweepType As SweepTypeEnum, Profile As Profile, Path As Path, Operation As PartFeatureOperationEnum ) As SweepDefinition

Parameters

Name Type Description
SweepType SweepTypeEnum Input SweepTypeEnum indicates which sweep type you will use to create the sweep feature.
Profile Profile Input Profile object used to define the shape of the sweep.
Path Path Input entity that defines the path of the sweep. Use the CreatePath or CreateSpecifiedPath methods on the PartFeatures object to create a Path. The path can be a combination of 2D and 3D sketch elements and can be open or closed.
Operation PartFeatureOperationEnum Input constant that indicates the type of operation to perform. Valid input is kJoinOperation, kCutOperation, kIntersectOperation, kSurfaceOperation or kNewBodyOperation.

Version

Introduced in version 2015

Was this information helpful?