cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

BOM-show all part & qty of Assembly in table in Creo Drawing

bnguyen-2
8-Gravel

BOM-show all part & qty of Assembly in table in Creo Drawing

Dear PTC

I have one assemly (more 1000 parts include many sub-assembly)

I want to do a list spare part for all Big-assemly

Ex: Asm 1 have 7kids: 1.1 to 1.7

ASM 2 have 4kids: 2.1 to 2.4

....

How we do like below list in Drawing of CREO?

BOM.JPG

Thanks & regards

-


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
9 REPLIES 9
bduncan
15-Moonstone
(To:bnguyen-2)

try this

if save_idx==pass_num && rpt_index==1
save_idx=0
endif

if rpt_index>save_idx
save_idx=rpt_index
pass_num=0
else
pass_num=save_idx
endif

if pass_num==0

if rpt_index==1
current_level=rpt_level
save_2sn=0
save_3sn=0
save_4sn=0
save_5sn=0
/*加入点
endif
if current_level==rpt_level
if rpt_level==2
save_2sn=save_2sn+1
endif
if rpt_level==3
save_3sn=save_3sn+1
endif
if rpt_level==4
save_4sn=save_4sn+1
endif
if rpt_level==5
save_5sn=save_5sn+1
endif
/*加入点
else
if rpt_level==2
save_2sn=save_2sn+1
/*save_4sn=save_2sn
endif
if rpt_level==3
save_3sn=save_3sn+1
if current_level<rpt_level
save_3sn=1
endif
/*save_4sn=save_3sn
endif
if rpt_level==4
save_4sn=save_4sn+1
if current_level<rpt_level
save_4sn=1
endif
endif
if rpt_level==5
save_5sn=save_5sn+1
if current_level<rpt_level
save_5sn=1
endif
endif
/*加入点
current_level=rpt_level
endif


if rpt_level==2
myidx=itos(save_2sn)
endif
if rpt_level==3
myidx=itos(save_2sn)+"."+itos(save_3sn)
endif
if rpt_level==4
myidx=itos(save_2sn)+"."+itos(save_3sn)+"."+itos(save_4sn)
endif
if rpt_level==5
myidx=itos(save_2sn)+"."+itos(save_3sn)+"."+itos(save_4sn)+"."+itos(save_5sn)
endif
/*加入点
endif

Dear Mr. Blue Duncan

Can you help me do detail step

it first time for me

Thanks your help

bduncan
15-Moonstone
(To:bnguyen-2)

123.jpgSee the attachment.

Dear Mr. Blue Duncan,

I saw the BOM table which you have attached for Gear box assembly. it looks fantastic and I would like to implement this into my assembly but I don't know where to enter these codes. Sorry I am a beginner, so can you help me?

Dear mr.BLUE DUNCAN

Thanks you show to me CREO can do it

but the template file just valid your file only, orther ASM can't

Thanks

bduncan
15-Moonstone
(To:bnguyen-2)

That is impossible. If you do not mind,you can share the files,I'll show you how to achieve

Dear Sir

Please attach file

http://www.mediafire.com/download/kpl4wik78w3jkz9/Gear-box.zip

Thanks your help

Thanks & Regards

bduncan
15-Moonstone
(To:bnguyen-2)

222.jpg

Dear BLUE DUNCAN

Thanks your help

Now is ok

Thanks & Regards

Top Tags