def demo_silhouetteSplitFeatures_add(rootComp: adsk.fusion.Component): body = _ui.selectEntity('Select a body', 'Bodies').entity viewDirection = rootComp.zConstructionAxis operation = adsk.fusion.SilhouetteSplitOperations.SilhouetteSplitSolidBodyOperation silhouetteSplitFeatures = rootComp.features.silhouetteSplitFeatures input = silhouetteSplitFeatures.createInput(viewDirection, body, operation) silhouetteSplitFeature = silhouetteSplitFeatures.add(input)