0 Replies Latest reply on Sep 25, 2015 11:23 AM by Patrick Jensen

    IsSuppressed and GetSuppression returning wrong values

    Patrick Jensen

      I have a set of components that I cycle through and determine if they are suppressed or not. I have used both IsSuppressed and GetSuppression and they keep returning a suppressed state for components that are not suppressed. I can right click on said component and go to component properties and it says they are fully resolved, yet these methods still say they are suppressed.

       

      To determine if they are suppressed, I have used

      If swComp.GetSuppression = 2

      and

      If Not swComp.GetSuppression = 0

      and

      If swComp.IsSuppressed = False

       

      It should be noted that the parts that this is a problem with are in a pattern or a mirror

       

      Regards,

       

      Patrick