Share

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 Read-write property that gets and sets the collection of bodies affected by this feature. If this property is not set for multi-body parts, the default solid body is used as the affected body. This property applies only to features in a part.
AffectedOccurrences Read-write property that gets and sets the collection of occurrences that should participate in this feature. If this property is not set, all possible occurrences will participate. This property applies only to features in an assembly.
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 Read-write property that gets and sets whether to automatically place iMates on full circular edges. If set to True, Inventor places the iMates on cl.
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 Read-write property that gets and sets how open profiles are handled.
Operation Read-write property that gets and sets the type of operation used to add the feature to the model. Valid inputs are kNewBodyOperation, kJoinOperation, kCutOperation, kIntersectOperation and kSurfaceOperation.
Parent Gets the parent object from whom this object can logically be reached.
Profile Read-write property gets and sets the sketch profile used for the extrude feature.
TaperAngle Read-write property that provides access to the taper angle of an extrude feature. If not supplied, the feature will be created with a taper angle of.
TaperAngleTwo Read-write property that provides access to the second direction taper angle of an asymmetric extrude feature. This property is not applicable and ret.
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

Was this information helpful?