Message 1 of 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone,
I have a part with a hole. And I would like to pattern the hole via iLogic in YZ Plane.
I manage to do it in XZ Plane, but in YZ Plane it make it but with an error.
Can someone help me?
Dim oPartDoc As PartDocument = ThisDoc.Document Dim oPartComp As PartComponentDefinition = oPartDoc.ComponentDefinition Dim oHole As HoleFeature = oPartComp.Features.HoleFeatures.Item(1) Dim oBjCol As ObjectCollection = ThisApplication.TransientObjects.CreateObjectCollection Call oBjCol.Add(oHole) Dim oPlane As WorkPlane oPlane = oPartDoc.ComponentDefinition.WorkPlanes(2) oRectFeat = oPartComp.Features.RectangularPatternFeatures.Add(oBjCol, oPlane, true, 2, 3, PatternSpacingTypeEnum.kDefault)
Solved! Go to Solution.