iLogic 2014: pattern suppression

iLogic 2014: pattern suppression

Allen_Hart
Advocate Advocate
839 Views
1 Reply
Message 1 of 2

iLogic 2014: pattern suppression

Allen_Hart
Advocate
Advocate

I have a main assembly containing a small sub-assembly, PA01, that is patterned.  There is an iLogic rule to control suppression of the pattern using the statement: Component.IsActive("PA01 Pattern 1:1") = False.

 

The pattern does suppress/unsuppress on queue, but i get a warning when suppressed that it failed to compute:

 

PA01 Pattern.png

 

and if I force a rebuild outside of iLogic I get this:

 

PA01 message.PNG

 

Of course it cannot be edited because it is suppressed.  And when I set the rule to True all is well again.

It seems the elements are being suppressed but the pattern itself is not, therefore the warning. 

So, the question is; is this the way patterns are supposed to act when suppressed? 

Is there another way of writing the rule to prevent this warning?

 

Thanks,

Allen

 

0 Likes
Accepted solutions (1)
840 Views
1 Reply
Reply (1)
Message 2 of 2

Allen_Hart
Advocate
Advocate
Accepted solution
Update: I've discovered the reason for the error is because the component pattern is feature based. IOW, it is based on a hole pattern in another part. I redefined the pattern to use parameters instead. Now there are no errors.
0 Likes