Question:
Is it possible to create a rule to suppress all filltes or chamfers in a part by an iLogic rule?
Solution:
The code below self explains how to suppress the specific features.
'get part document
doc = ThisDoc.Document
'get part definition
oDef = doc.ComponentDefinition
Dim oEachF As PartFeature
'iterare each feature
For Each oEachF In oDef.Features
'if it is a chamfer or fillet
If TypeOf oEachF Is ChamferFeature Or TypeOf oEachF Is FilletFeature Then
'suppress it
oEachF.Suppressed = True
End If
Next