Folks-
Sorry to ask a stupid question, but can user-defined
model parameters be used in relations? My problem is with handling parts in
a repeat region style BOM having one or more characters that Pro/E
can't handle. For example, many US military standard parts have a
slash ("/") in their part number. Suppose a spring washer has part
number M1213/4C-6 (this may not be a valid part number per the standard
but it works for this example!). How to handle this?
By design
the BOM shows the filename as the part number. For example, an
MS15795-802 flat washer has filename MS15795-802.prt. The BOM reports
the part number by simply dropping the file extension. But what if the
part number were M1213/4C-6. Pro/E can't accept M1213/4C-6.prt as a
filename because of the illegal character "/". In this case we make the
model name M1213_4C-6.prt per our modeling practices.
Each part has a user-defined model
string parameter called MFGR_PN. By default this is a hyphen "-". For
situations where the part number has one or more illegal characters, we
replace the hyphen with the part number e.g. MFGR_PN would be
"M1213/4C-6".
This is what I need to do:
IF MFGR_PN is not equal to "-" THEN
asm_member_name=MFGR_PN
else
asm_member_name=rel_model_name
end if
I think that "rel_model_name" is a system parameter but I'm not positive I have the syntax or spelling right.
Is what I'm trying to do possible? How exactly should the relation look to do this?
TIA
PS: To DellBoy on earlier related post-Thanks for the tip. A great suggestion. I will propose this to Mgmt.
Sorry to ask a stupid question, but can user-defined
model parameters be used in relations? My problem is with handling parts in
a repeat region style BOM having one or more characters that Pro/E
can't handle. For example, many US military standard parts have a
slash ("/") in their part number. Suppose a spring washer has part
number M1213/4C-6 (this may not be a valid part number per the standard
but it works for this example!). How to handle this?
By design
the BOM shows the filename as the part number. For example, an
MS15795-802 flat washer has filename MS15795-802.prt. The BOM reports
the part number by simply dropping the file extension. But what if the
part number were M1213/4C-6. Pro/E can't accept M1213/4C-6.prt as a
filename because of the illegal character "/". In this case we make the
model name M1213_4C-6.prt per our modeling practices.
Each part has a user-defined model
string parameter called MFGR_PN. By default this is a hyphen "-". For
situations where the part number has one or more illegal characters, we
replace the hyphen with the part number e.g. MFGR_PN would be
"M1213/4C-6".
This is what I need to do:
IF MFGR_PN is not equal to "-" THEN
asm_member_name=MFGR_PN
else
asm_member_name=rel_model_name
end if
I think that "rel_model_name" is a system parameter but I'm not positive I have the syntax or spelling right.
Is what I'm trying to do possible? How exactly should the relation look to do this?
TIA

PS: To DellBoy on earlier related post-Thanks for the tip. A great suggestion. I will propose this to Mgmt.