Share

RevolveFeatures.AddByFromToExtent Method

Parent Object: RevolveFeatures

Description

Method that creates a new RevolveFeature using 'from and to face' extents. The new RevolveFeature is returned.

Syntax

RevolveFeatures.AddByFromToExtent( Profile As Profile, AxisEntity As Object, FromFace As Object, ExtendFromFace As Boolean, ToFace As Object, ExtendToFace As Boolean, ExtentDirection As PartFeatureExtentDirectionEnum, MinimumSolution As Boolean, Operation As PartFeatureOperationEnum ) As RevolveFeature

Parameters

Name Type Description
Profile Profile Input Profile object used to define the shape of the revolution. If the Operation argument is anything except kSurfaceOperation, then the input profile must have closed paths. Open paths are valid when creating surfaces.
AxisEntity Object Input linear entity that defines the axis of the revolution. This can either be a sketch line in the same sketch that was used to generate the profile or a WorkAxis object.
FromFace Object Input Object that defines the 'from face'. This can be either a Face or WorkPlane object.
ExtendFromFace Boolean Input Boolean that defines whether the 'from face' should be extended to contain the extents of the profile.
ToFace Object Input Object that defines the 'to face'. This can be either a Face or WorkPlane object.
ExtendToFace Boolean Input Boolean that defines whether the 'to face' should be extended to contain the extents of the profile.
ExtentDirection PartFeatureExtentDirectionEnum Input constant that indicates which side of the sketch plane to extrude towards. Valid input is kPositiveExtentDirection or kNegativeExtentDirection. kPositiveExtentDirection defines the offset direction to be in the same direction as the normal of the sketch plane.
MinimumSolution Boolean Input Boolean that defines whether the feature terminates on the nearest valid face when there are multiple options for valid termination faces.
Operation PartFeatureOperationEnum Input constant that indicates the type of operation to perform. Valid input is kJoinOperation, kCutOperation, kIntersectOperation, kSurfaceOperation.

Version

Introduced in version 2008

Was this information helpful?