Message 1 of 3
Not applicable
04-12-2017
11:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Afternoon Everyone,
I finally figure out how to pattern a feature but now I can't get it pattern from the mid plane. It's probably something simple but I can't see it. Would really appreciate some help. Thanks
Dim objCol As ObjectCollection
Set objCol = ThisApplication.TransientObjects.CreateObjectCollection
Call objCol.Add(oPartDef.Features("Extrusion1"))
Set oRecPat = oPartDef.Features.RectangularPatternFeatures.Add(objCol, oPartDef.WorkAxes.Item("X Axis"), False, 98, 1, kDefault, , _
oPartDef.WorkAxes.Item("Y Axis"), True, 1, 1, kDefault, , kIdenticalCompute, kIdentical)
Set oRecPat.Definition.XDirectionMidPlanePattern = True
Solved! Go to Solution.