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

Changing component parameter "linenumber" for all instances

CS_10428158
10-Marble

Changing component parameter "linenumber" for all instances

I have an assembly that is broken into several different simplified representations.  I want to use a BOM table in my drawing for consistent balloon numbering.

 

The best way I see to do that is to use a component parameter "LINENUMBER" in an assembly that will store the line number for a bom table in every instance simplified reps.  

 

I've entered Linenumber as a component parameter for a few components, but a problem I run into is that when I have instances of hardware I have to enter this parameter individually for all the hundreds of screws and washers.  

 

Is there a way for me to enter the component parameter for all instances of a component without having to work with Windchill?

 

Creo 7.0.7.0

ACCEPTED SOLUTION

Accepted Solutions


@CS_10428158 wrote:

I see that you are using the feature ID to identify each component.  If I have 30 screws how do I add a component parameter to all of them?  Do I need to collect all 30 feature id's?  

This doesn't seem practical.


How can I select all components of the same name and add the same component parameter and value.  For example I want to make all the screws have linenumber value "2" that way when I have drawing BOM they are not separate but merged quantity?

 


Hi,

 

Q: If I have 30 screws how do I add a component parameter to all of them?   For example I want to make all the screws have linenumber value "2.

A: See uploaded video. It shows procedure mentioned in https://www.mcadcentral.com/threads/component-parameters-in-assembly.9221/ discussion.

 

EDIT: Press right mouse button to display context menu after selecting components.


Martin Hanák

View solution in original post

7 REPLIES 7

Hi,

you can use trail file to create component parameters and set their values.

 

comp_par.zip

  • contains test data set used in video

 

comp_par.mp4

  • shows my "procedure"
  • 1st part of video shows how to create parameter manually
  • 2nd part of video shows how to create parameters using generated trail file

Note: If you have some programming knowledge you will be able to create trail file generator.


Martin Hanák

trail file generator

  • you can use Excel functionality to generate trail file
  • download and unzip comp_par_trail_generator.zip

 

comp_par_trail_generator.xlsx

  • contains trail file generator

comp_par_trail_generator_NOTES.docxcomp_par_trail_generator.mp4

  • information how to use Excel file

 

EDIT: instead of Word it is possible to use Wordpad


Martin Hanák

I see that you are using the feature ID to identify each component.  If I have 30 screws how do I add a component parameter to all of them?  Do I need to collect all 30 feature id's?  

This doesn't seem practical.


How can I select all components of the same name and add the same component parameter and value.  For example I want to make all the screws have linenumber value "2" that way when I have drawing BOM they are not separate but merged quantity?

 


@CS_10428158 wrote:

I see that you are using the feature ID to identify each component.  If I have 30 screws how do I add a component parameter to all of them?  Do I need to collect all 30 feature id's?  

This doesn't seem practical.


How can I select all components of the same name and add the same component parameter and value.  For example I want to make all the screws have linenumber value "2" that way when I have drawing BOM they are not separate but merged quantity?

 


Hi,

 

Q: If I have 30 screws how do I add a component parameter to all of them?   For example I want to make all the screws have linenumber value "2.

A: See uploaded video. It shows procedure mentioned in https://www.mcadcentral.com/threads/component-parameters-in-assembly.9221/ discussion.

 

EDIT: Press right mouse button to display context menu after selecting components.


Martin Hanák

This is great! This allows me to add a parameter to all the components of the same name.  It seems there is a difference in selecting as a component vs assembly member.

Is there any way to do this kind of selection from the model tree?  

Hi,

I am sorry I do not know what you are asking for.


Martin Hanák

In the model tree there is a search bar.  However, if I try selecting components through this search bar and select parameters it takes me to the part parameters instead of component parameters.  I'm just wondering if there is a way to change this through a setting or filter.

 

CS_10428158_0-1722024153579.png

 

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags