Not applicable
12-07-2018
12:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
i have an existing Extrusion. I won't to change this from increase to cut out.
The name of the Extrsion is "Bohrungen"
Source
Won't change to:
Hole thrue all
I have found a code that change the direction but i don't know to change the extrusion to Cut thrue.
Here is the code that i have now:
SyntaxEditor Code Snippet
Sub Main Dim extrude As ExtrudeFeature = TryCast(Feature.InventorFeature("Bohrungen"), ExtrudeFeature) Dim extent As DistanceExtent = TryCast(extrude.Extent, DistanceExtent) If Noppen = True Then extent.Direction = PartFeatureExtentDirectionEnum.kPositiveExtentDirection Else extent.Direction = PartFeatureExtentDirectionEnum.kNegativeExtentDirection End If End Sub
I have tested with the kCutOperation, but i don't know how?
Sincerely
Solved! Go to Solution.