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

Repeat Region Filter, Filter Objects missing a Parameter

Regular Member

Repeat Region Filter, Filter Objects missing a Parameter

Pretty simple.  I want to filter objects that are missing a parameter.  Not that the parameter is blank, the parameter doesn't exit for that specific part.

 

I tried filtering by a Null value for the parameter, doesnt work.

 

&asm.mbr.REV_DRAWING != ""

4 REPLIES 4

Re: Repeat Region Filter, Filter Objects missing a Parameter

Why not add the parameter to the model?  In assembly mode, you can show any parameter as a column in the model tree.  That makes it easy to see which ones have the parameter, have nothing or the wrong value for the parameter, or don't have the parameter at all.  You can then add the parameter (make sure it's the right type!) and put in the correct value.

 

Or, if you have model check you could have the parameter added that way.

 

Is there a specific reason you don't want to fix the part and want to simply not show it?  Maybe you should make a simplified rep that suppresses those parts (pick them manually), and that way if the simplified rep is active when you put the table on the dwg the BOM will show what

s in that rep ONLY.

Re: Repeat Region Filter, Filter Objects missing a Parameter

Hi,

 

use following command

if exists("PARAMETER NAME")

  ...

endif

 

See https://community.ptc.com/t5/Part-Modeling/Repeat-Region-Relations-work-in-one-drawing-table-but-not..., response from MartinHanak 2016-03-05 10:05 AM


Martin Hanák

Re: Repeat Region Filter, Filter Objects missing a Parameter

NOTE: By defining repeat region relations you will get new parameter (eq. rpt.rel.mypar). You can use this parameter to filter repeat region rows.


Martin Hanák
Highlighted

Re: Repeat Region Filter, Filter Objects missing a Parameter

Hi,

 

The simplest way to do this would be to instead of filtering away the null values, filter only the non-null values. For your example, use this filter:

 

&asm.mbr.REV_DRAWING == *

 

Hope this helps!

 

Cheers,

John Piotrowski, Co-Founder & Product Manager
CadActive Technologies - www.cadactive.com
Announcements
LiveWorx Call For Papers Happening Now!