Eng-Tips is the largest forum for Engineering Professionals on the Internet.

Members share and learn making Eng-Tips Forums the best source of engineering information on the Internet!

  • Congratulations JStephen on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Filter parts without spec. parameter

  • Thread starter Thread starter Harold@Lamers
  • Start date Start date
H

Harold@Lamers

Guest
I have a problem with parts showing up in a Repeat Region/BOM which don't have a specific parameter in the model.

We get many models from our clients as surrounding geometry for our piping. This geometry has to be on the drawing for the clients to see where our piping is assembled. These models don't have the parameter ZNR (string).
Adding this parameter to the models is not an option (just to many models).

We only want to show parts in the Repeat Region which have the parameter ZNR in them (out piping), so we have added &asm.mbr.znr in the Repeat Region/BOM.
Unfortunately also the parts without the parameter ZNR show up.

How can we filter them out of the Repeat Region (By Rule)?
I hope someone can help me with this problem.
 
you can assign a filter to the repeat region. The filter
would read something to the effect of "&asm.mbr.znr == znr"
(without the quotes), that should only show the parts that
have znr in the specified parameter and filter out all
others. To set this, you will need to click the Repeat
Region button on the Table ribbon, select Filters from the
menu manager, click the table within the repeat region, and
click edit under Filter Reg in the menu manager. This will
open a text editor where you type in the above filter
 
Thanks nkrahenbuhl for your answer, however that didn't work. I only got an empty Repeat Region with this. But with your suggestion I tried a few other things and after a few tries I found something that did work.
I added '&asm.mbr.param.name == znr' to the filter.
Now only parts/assemblies with the parameter 'znr' are shown in the repeat region.

Now, however, I stumble upon another problem. A few parts/assemblies have the parameter 'znr' but it has no value (it's empty).
Is there a way to filter them out using 'By Rule'?
 
You can create a simplified rep that excludes those parts without the ZNR parameter. Use this simplified rep for the repeat region but display the Master or Simplified rep that shows the components.
 

Part and Inventory Search

Sponsor

Back
Top