Leading zero for BOM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Leading zero for BOM
Hi mates, Could you someone tell me how to add leading zero for BOM sl.nos, and qty column like 01,02,03... Instead of just 1, 2, 3... In creo 7 or latest?
Thanks in advance
- Labels:
-
2D Drawing
-
Assembly Design
-
MBD_GD&T
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
you have to define repeat region relations.
my_qty=extract("0"+itos(rpt_qty),string_length("0"+itos(rpt_qty))-1,2)
Martin Hanák
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi ,
After input the relation i got "Invalid symbol"error. Did I missed something?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You need to change the parameter in your table from rpt_qty to My_qty.
Yours should be:
&rpt.rel.My_qty
This is in my table:
&rpt.rel.newqty
This is in my relation:
IF asm_mbr_pn == "9594"
NEWQTY = "0.5"
ELSE
NEWQTY = rpt_qty
ENDIF
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
check whether repeat region attribute is set to No Duplicates.
If &rpt.qty is not included in repeat region column, then you have to add rpt_qty parameter manually in relations dialog box.\
Type of the parameter is irrelevant. Creo will set it to Unknown.
Martin Hanák
