ExtrudeDefinition.SetToExtent Method
Parent Object: ExtrudeDefinitionDescription
Method that changes the extents to be “to entity” extents.
Syntax
ExtrudeDefinition.SetToExtent( ToEntity As Object, [ExtendToFace] As Boolean )Parameters
Name | Type | Description |
ToEntity | Object | Input Object that defines the “to entity”. This can be one of the following types:
|
ExtendToFace | Boolean | Optional Input Boolean that defines whether the plane defined by the “to entity” should be extended to contain the extents of the profile. This argument is applicable only if the ToEntity argument is a Face. If no value is explicitly specified, a default value of False will be assumed. If the ToEntity argument is not a Face, this argument will be ignored. This is an optional argument whose default value is False. |
Samples
Name | Description |
Create and Edit an Extrude Feature with a pocket | This sample demonstrates how to edit an extrude feature. It shows how to create a sketch plane at a specified orientation to existing geometry. |