ExtrudeDefinition Object


Description

ExtrudeDefinition Object.

Methods

Name Description
Copy Method that creates a copy of this ExtrudeDefinition object. The new ExtrudeDefinition object is independent of any feature. It can edited and used as input to edit an existing feature or to create a new Extrude feature.
SetDistanceExtent Method that changes the extents to be “distance” extents. If this method is called on an asymmetric extrude, the second direction extent is removed. To change extent values, use the properties on the object returned by the Extent property.
SetDistanceExtentTwo Method that sets the second direction extent to be “distance” extents. This method returns an error if the first extent type is not distance extent.
SetDistanceFromFaceExtent Method that changes the extents to be “Distance From Face” extents.
SetFromToExtent Method that changes the extents to be “from and to face” extents.
SetThroughAllExtent Method that changes the extents to be “through all” extents.
SetToExtent Method that changes the extents to be “to entity” extents.
SetToNextExtent Method that changes the extents to be “to next face” extents.

Properties

Name Description
AffectedBodies
AffectedOccurrences
Application Returns the top-level parent application object. When used the context of Inventor, an Application object is returned. When used in the context of Apprentice, an ApprenticeServer object is returned.
Extent Read-only property that returns the PartFeatureExtent object that defines how the extent of the feature is defined. The type of extent object returne.
ExtentTwo Read-only property that returns the PartFeatureExtent object that defines how the second direction extent of the feature is defined. The type of exte.
ExtentTwoType Read-only property that returns an enum indicating how the second direction extent of the feature is defined. This indicates the type of object retur.
ExtentType Read-only property that returns an enum indicating how the extent of the feature is defined. This indicates the type of object returned by the Extent.
InferiMates
IsTwoDirectional Read-only property that returns whether extents have been defined in two directions for the extrude. If this property returns True, the ExtentTwoType.
MatchShape
Operation
Parent Gets the parent object from whom this object can logically be reached.
Profile
TaperAngle
TaperAngleTwo
Type Returns an ObjectTypeEnum indicating this object's type.

Accessed From

ExtrudeDefinition.Copy, ExtrudeFeature.Definition, ExtrudeFeatureProxy.Definition, ExtrudeFeatures.CreateExtrudeDefinition

Samples

Name Description
Display feature information Displays information about all of the extrude features in the active document. A part document must be active when this is run.

Version

Introduced in version 2012