Filters and Relations
Filters and Relations
(OP)
I have not had any experience or training using filters or relations in detailed drawings in Pro-E. I was wondering if anyone knows how to or if it is even possible to write and IF THEN statement that would change the part number in a drawing, as well as change the name of the part(description) in a BOM Table?? any help would be appreciated.
Ryan
Ryan





RE: Filters and Relations
Here is a relation that lives in our assembly drawing format:
If asm_mbr_bulk_item==yes
Qty="AS REQ."
Else
qty=rpt_qty
END IF
The relation looks at each part in the assembly.
The relation then checks the value of bulk_item - this is a parameter in all of our models. Any item with "yes" value for bulk_item, will have the text "AS REQ." printed in the BOM quantity field - rather than the actual quantity.
Similarly, you could drive drawing info. off of a family table of parts.
I am guessing that this is what you want to do?
Note:
asm_mbr and rpt_qty are system parameters for Pro/E repeat regions in tables. Look in the help files for the complete list.
You must be very careful with the syntax.
Pro/E is case sensitive with relations.
Also,
For an example on linking family table info. to drawings see:
ht
Good luck.
JW