Hi @Tony__Watkins. That is a fairly common problem when trying to automate assemblies with extrude/cut features. You basically need to find that feature by code, then loop through every component in your assembly, and use the ExtrudeFeature.AddParticipant method. The process is not very efficient, but does usually seem to work. Here is one of the iLogic rules I a have used in one of my projects. It could be shortened a bit, if you don't need the feedback. You will need to change the name of the ExtrudeFeature to your feature's name.
If ThisDoc.Document.DocumentType <> DocumentTypeEnum.kAssemblyDocumentObject Then Exit Sub
Dim oADoc As AssemblyDocument = ThisDoc.Document
Dim oADef As AssemblyComponentDefinition = oADoc.ComponentDefinition
Dim oExtFeats As ExtrudeFeatures = oADef.Features.ExtrudeFeatures
Dim oExtFeat As ExtrudeFeature = Nothing
Dim sExtFeatName As String = "CUT REAR OFF TO LENGTH"
For Each oExtFeat In oExtFeats
If oExtFeat.Name = sExtFeatName Then
Exit For 'oExtFeat variable will retain its value
End If
Next 'oExtFeat
If oExtFeat Is Nothing Then
MsgBox("The ExtrudeFeature named '" & sExtFeatName & "' was not found." _
& vbCrLf & "...So it could not be updated.", vbCritical, "iLogic")
Exit Sub
End If
For Each oOcc As ComponentOccurrence In oADef.Occurrences
Try : oExtFeat.RemoveParticipant(oOcc) : Catch : End Try
Try : oExtFeat.AddParticipant(oOcc) : Catch : End Try
Next 'oOcc
oADoc.Update2(True)
If this solved your problem, or answered your question, please click ACCEPT SOLUTION .
Or, if this helped you, please click (LIKE or KUDOS) 👍.
Wesley Crihfield

(Not an Autodesk Employee)