CutDefinition.SetToExtent Method

Parent Object: CutDefinition

Description

Method that changes the extent to be a 'to' extent.

Remarks

Calling this method for a CutDefinition object that was obtained from an existing cut feature will cause the cut feature to update with the change.

Syntax

CutDefinition.SetToExtent( ToFace As Object, ExtendToFace As Boolean )

Parameters

Name Type Description
ToFace Object Input Object that defines the 'to face'. This can be either a face or work plane. The same limitations for the 'to' face that exist when creating a cut feature interactively through the command exist when using the API to create a cut feature.
ExtendToFace Boolean Input Boolean that defines whether the 'to face' should be extended to contain the extents of the profile.

Version

Introduced in version 2009