That might work out better for you in a configuration/automation type situation. However, I came up with an additional iLogic rule that seems to be working for this situation. This iLogic rule is set-up to be triggered to run when the value of that parameter changes. Then it gets the Part document. Then updates it. Then gets the sketch that the hole feature is based on. Gathers all center points within it into a collection. Then gets the hole feature, and sets the collection of center points to it, as mentioned in my earlier post. Check this out on your end and see if it will work for you. (I was testing it while I had your other two local iLogic rules suppressed.)
Again, this would be in its own local iLogic rule. Probably after the other two.
oTrigger = QTY_Holes
Dim oPDoc As PartDocument = ThisDoc.Document
oPDoc.Update
oSketch = oPDoc.ComponentDefinition.Sketches.Item("Sketch4")
Dim oCPoints As ObjectCollection = ThisApplication.TransientObjects.CreateObjectCollection
For Each oSPoint As SketchPoint In oSketch.SketchPoints
If oSPoint.HoleCenter Then
oCPoints.Add(oSPoint)
End If
Next
'MsgBox("There are now " & oCPoints.Count & " center points in the sketch.",,"")
oHoleFeat = oPDoc.ComponentDefinition.Features.HoleFeatures.Item("Hole1")
Dim oHDef As SketchHolePlacementDefinition = oHoleFeat.PlacementDefinition
oHDef.HoleCenterPoints = oCPoints
oPDoc.Update
If this solved your problem, or answered your question, please click ACCEPT SOLUTION.
Or, if this helped you, please click (LIKE or KUDOS) 👍.
If you want and have time, I would appreciate your Vote(s) for My IDEAS 💡 or you can Explore My CONTRIBUTIONS
Wesley Crihfield

(Not an Autodesk Employee)