Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Table Relations

Status
Not open for further replies.

ttx

Mechanical
Jan 21, 2002
193
Hi,
Can anyone help me with a simple relation?

Scenario......
Our part files have a "yes/no" parameter called bulk item.
When we were using 2000i^2, we had a relation in our BOM Format that checked for the condition of "bulk item"-then assigned the quantity to either: the actual number of components or AR (for as required). Since switching to release 2001, not only does the relation not work, there is no quantity listed in the BOM at all!
The relation used to look something like this:

If "bulk_item"=="yes"
qty="AR"
else
qty=rpt.qty
end if

It seems like a simple thing, however, I just cannot get it to work.
Any advice with regards to the problem or a clever work-around would be greatly appreciated.

JW

 
Replies continue below

Recommended for you

You might want to open the format in 2001, and reaply the drawing relations again. Save and close the "2001" format, and apply it to a drawing.

Just a guess for now.

Steve
 
If you haven't already, make sure that your custom BOM format file (<filename>.fmt) is intact and located in the directory specified by the config option that points there:
BOM_FORMAT <full path to BOM format file>

I would also check the PTC knowledgebase to see if PTC may have added more reserved parameters in 2001...I ran into this while trying to create single-letter variables in family tables as parameters - &quot;G&quot; cannot be used as a parameter, since it is reserved as the gravitational constant value 9.81.

Recneps

 
Hi,
Thanks for the reply(s).
Your right......check the simple things first.

Below, I have copied the relation-maybe someone with a spare moment could have a look.

IF asm_mbr_bulk_item==&quot;yes&quot;
Qty=&quot;AS REQ.&quot;
Else
Qty=rpt_qty
ENDIF

1) In the BOM table there is a parameter &quot;asm_mbr_bulk_item&quot;
2) In each part there is a &quot;yes/no&quot; parameter &quot;bulk_item&quot;

I don't get any relation error messages.

I am always impressed with the amount of control over model notes, parameters and relations-especially with the way they all interact. I am equally frustrated though, with the lack of intuitiveness with customization of these features.......

JW
 

Hello,
For anyone interested:
The above problem I described was solved by changing the table repeat region report symbol from:

rpt.qty
to
rpt.rel.Qty

In examples provided in Pro/E training manuals there is no mention of the above syntax for using relations in repeat regions.
Note the capital &quot;Q&quot;. This is required to tell Pro/E to look at the value or condition of a user defined parameter within the relation.

Thanks to Recneps and 3dlogix for your replies.

JW
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor