Quantcast
Channel: PTC Community : Unanswered Discussions - Modeling
Viewing all articles
Browse latest Browse all 2891

Filter Repeat Region by Two Conditions

$
0
0

Creo 3, M070

 

I'd like to use two conditions to filter a repeat region, can I do this?

 

What I mean is that I want to filter all assemblies out of my region except the ones with the parameter BOM_DISPLAY set to YES.  So, I'd like to display assemblies only if these two conditions are met:

 

&asm.mbr.type  == ASSEMBLY*

&asm.mbr.bom_display  == yes

 

But, I believe that if I put those tow things in the repeat region filters the only items I'll get are those assemblies.  I'd like to get all the parts too (except skeletons and parts where BOM_DISPLAY is set to no).

 

So, what I want is:

 

&asm.mbr.type  != SKELETON*

&asm.mbr.bom_display  != no


&asm.mbr.type  != ASSEMBLY*

EXCEPT where:

&asm.mbr.type  == ASSEMBLY*

AND:

&asm.mbr.bom_display  == yes

 

Of course, that's not going to work.   How can I accomplish all of this?


Viewing all articles
Browse latest Browse all 2891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>