How to suppress sheet metal flanges/features using ilogic in Inventor

Hi, Answering this question. Hoping that it will be useful for someone, who really wants to suppress and un-suppress feature by using ilogic.

  1. Step 1:

    To suppress Features using ilogic
    Use Ilogic formula:
    which requires boolean input " True/False"

    Example: Feature.IsActive("featurename") = True

    Note: Attached a sample file. Open the Rule Browser and Run the "Rule0"