cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Filter Repeat Region in Drawing

jjohnson-4
2-Guest

Filter Repeat Region in Drawing

Hi ,

 

I have a repeat region that is recursive / no duplicates. So it includes every part in the model and totals how many of each part is used. I have tried to set up a filter by rule but it does not seem to exclude the data that I wanted to exclude. I have a parameter named Part_Desc that includes the description of the part. There are some parts that are used to make an assembly and we purchase the assembly from an OEM. The sub parts for those assemblies do not have a value for the Part_Desc. I wanted to be able to exclude any of those items from the repeat region. Any help or suggestions are greatly appreciated. Thanks, Jon


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
1 REPLY 1

We create a parameter called "BOM_FILTER" set value to "YES" in components that we want filtered from our repeat regions.

Our filter rule looks like this.

&asm.mbr.bom_filter != YES

&asm.mbr.cparam.bom_filter != YES

Use whatever parameter name works for you, The key here is the "!= YES" not equal, your other components won't have this parameter so they should display just fine.

Top Tags