Talk About Network

Google





Computer Aided Design - CAD > Parametric Technology's Pro/Engineer > Re: BOM Quantit...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 9 Topic 2770 of 3008
Post > Topic >>

Re: BOM Quantity Override

by Aggrevated <tclement@[EMAIL PROTECTED] > Jan 10, 2008 at 10:25 AM

Well our file names are like 30681_thingy_with_widget.prt and the part
number is just saved as a parameter (part_no) for referencing on the
drw sheet.  That's why I didn't use asm_mbr_name.  If I had used
asm_mbr_name then I would have had to typed the whole file name and
I'm too lazy for that.

This is what finally worked:

IF asm_mbr_part_no == "30681"
qnty = "1.5"
ELSE
qnty = rpt_qty
ENDIF

Notes:
1)  rpt_qty has to be set up as a local parameter in the "Repeat
Region -> Relations -> Local Parameters" section.
2)  "Part_No" is a string parameter in the individual parts.
3)  The Quantity field in the BOM is changed from &rpt.qty to &qnty

Works like a champ.

Interesting that rpt.qty is a string and not an integer.  It works out
well I guess, but odd none the less.
 




 9 Posts in Topic:
BOM Quantity Override
Aggrevated <tclement@[  2008-01-04 12:59:52 
Re: BOM Quantity Override
"Janes" <dja  2008-01-04 17:30:41 
Re: BOM Quantity Override
Aggrevated <tclement@[  2008-01-07 13:03:21 
Re: BOM Quantity Override
Aggrevated <tclement@[  2008-01-07 13:09:43 
Re: BOM Quantity Override
Aggrevated <tclement@[  2008-01-07 13:38:03 
Re: BOM Quantity Override
"Janes" <dja  2008-01-07 20:08:05 
Re: BOM Quantity Override
Aggrevated <tclement@[  2008-01-07 13:48:13 
Re: BOM Quantity Override
"Janes" <dja  2008-01-07 15:40:58 
Re: BOM Quantity Override
Aggrevated <tclement@[  2008-01-10 10:25:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Thu Jan 8 18:49:59 PST 2009.