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

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Call custom assembly parameter into BOM

MS_9892725
10-Marble

Call custom assembly parameter into BOM

Dear Team,

I have created a custom parameter into the assembly, Now I want to call this parameter into BOM table. I know how to use repeat region, but I am not able to call the assembly custom parameter into drawing BOM table. Please help. 

ACCEPTED SOLUTION

Accepted Solutions


@MS_9892725 wrote:

It indicates no. of qty to be manufactured for this assembly.


Hi,

if I understand you well then Total_Qty parameter value is related to the component in context of the assembly.

If your Creo version is 7.0 or higher then:

  • download my test data set repeat_region.zip (2024-02-19 06:24 PM)
  • unzip it
  • open t_asm.asm
  • open Parameters dialog box ... see following picture

MartinHanak_0-1708674985910.png

  • you can define Total_Qty parameter just as the POS parameter is defined
  • close Parameters dialog box
  • open t_asm.drw
  • edit contents of 3rd cell ... see following picture

MartinHanak_1-1708675203732.png

  • you can enter &asm.mbr.cparam.Total_Qty to display value of Total_Qty parameter

 


Martin Hanák

View solution in original post

16 REPLIES 16

Hi,

according to https://support.ptc.com/help/creo/creo_pma/r10.0/usascii/index.html#page/detail/System_Parameters_for_Drawings.html

 

&asm.mbr.MODELPAR displays parameter defined on part/subassembly level

&asm.mbr.cparam.COMPPAR displays parameter defined on assembly component level

 


Martin Hanák

Hi Martin,

Thanks for info, I had checked that, but it is not working.


@MS_9892725 wrote:

Hi Martin,

Thanks for info, I had checked that, but it is not working.


Hi,

such brief communication does not enable me to help you. please provide more information, picture, Creo data


Martin Hanák


@MS_9892725 wrote:

Hi Martin,

Thanks for info, I had checked that, but it is not working.


Hi.

open uploaded drawing saved in Creo 7.0.


Martin Hanák

Hi Martin,

I have tried this, but not solve the purpose. I have provided some snapshot for your reference.

Please check the below snapshots.......

1. I have created Total_Qty parameter in my assembly....

 

 

301.jpg 

  2. Now I want to call this parameter in my BOM Table....... What is the relation I have to use?

 

 302.JPG


@MS_9892725 wrote:

Please check the below snapshots.......

1. I have created Total_Qty parameter in my assembly....

 

 

301.jpg 

  2. Now I want to call this parameter in my BOM Table....... What is the relation I have to use?

 

 302.JPG


Hi,

I need to understand what values you want to see in cells in Total Qty column.

I can only try to help you if you give me this information.


Martin Hanák

It can be any random number, like 2,3,4, or 5


@MS_9892725 wrote:

It can be any random number, like 2,3,4, or 5


Hi,

I need to understand what is the meaning of Total_Qty parameter. What does this number say?

 


Martin Hanák

It indicates no. of qty to be manufactured for this assembly.


@MS_9892725 wrote:

It indicates no. of qty to be manufactured for this assembly.


Hi,

if I understand you well then Total_Qty parameter value is related to the component in context of the assembly.

If your Creo version is 7.0 or higher then:

  • download my test data set repeat_region.zip (2024-02-19 06:24 PM)
  • unzip it
  • open t_asm.asm
  • open Parameters dialog box ... see following picture

MartinHanak_0-1708674985910.png

  • you can define Total_Qty parameter just as the POS parameter is defined
  • close Parameters dialog box
  • open t_asm.drw
  • edit contents of 3rd cell ... see following picture

MartinHanak_1-1708675203732.png

  • you can enter &asm.mbr.cparam.Total_Qty to display value of Total_Qty parameter

 


Martin Hanák

Thank you so much Martin,

It works as expected. 

Can you please tell me how to enter the parameter as a component, because it is not at a part level nor at assembly?


@MS_9892725 wrote:

Thank you so much Martin,

It works as expected. 

Can you please tell me how to enter the parameter as a component, because it is not at a part level nor at assembly?


Hi,

please see uploaded video.

Note: This is my last reply.


Martin Hanák

Thanks for the video.

Is it possible to add this component parameter to the assembly start part? so that we don't need to create the parameter every time.

No.


Martin Hanák

MS,

 

We use &asm.mbr.title in our on drawing BOM.

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags