reverseNormalFeatures.add

Description

Demonstrates the reverseNormalFeatures.add method.

Code Samples

def demo_reverseNormalFeatures_add(rootComp: adsk.fusion.Component):
    selection: adsk.fusion.BRepBodies = _ui.selectEntity('Select body to reverse normal.', 'Bodies').entity
    bodies = adsk.core.ObjectCollection.create()
    bodies.add(selection)

    reverseNormalFeatures = rootComp.features.reverseNormalFeatures
    reverseNormal = reverseNormalFeatures.add(bodies)