12-07-2018
02:59 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
12-07-2018
02:59 PM
I created a deck feature using this method. The 'Operation' property of the ExtrusionDefinition of the ExtrusionFeature is what you are after aka ExtrudeFeature.Defnition.Operation
Dim edDeck As ExtrudeDefinition = cdCarDeck.Features.ExtrudeFeatures.CreateExtrudeDefinition(skDeckProfile.Profiles.AddForSolid, PartFeatureOperationEnum.kNewBodyOperation)
edDeck.SetDistanceExtent(RowCar.DeckWidth * 2.54, PartFeatureExtentDirectionEnum.kSymmetricExtentDirection)
Dim efDeck As Inventor.ExtrudeFeature = cdCarDeck.Features.ExtrudeFeatures.Add(edDeck)
extrusionDefinition.Operation=PartFeatureOperationEnum.kCutOperation 'and all other types
jvj