Skip to main content
1-Visitor
October 25, 2014
Solved

Use parameter from assembly in a part

  • October 25, 2014
  • 27 replies
  • 18745 views

I created a parameter in my assembly and now I want to be able to use the value from that parameter in on of my assembled parts. But I can't figure out how to link that parameter to my part.


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.
Best answer by ptc-5471878

I thought of a way to do this.

In the assembly I activate the part and start a sketch. In the sketch I reference the two axis in my main assembly that is the pitch and draw a line between them. Then I put a reference dimension on it. Exit the sketch and then create a new "pitch" parameter and then setup a relation that sets the new "pitch" parameter in the part equal to the reference dimension.

Now when I change the pitch parameter in the assembly, the pitch parameter in the part updates!

Happy days.

27 replies

17-Peridot
October 25, 2014

I am no expert at creating cross part references but I do know of a few options depending on what you are trying to achieve.

1st of all, you can easily create external references by activating a component in the assembly and using assembly references in the currently active part. I don't know the limitations, but take a sketch, for instance, and create assembly references in the sketch. These work well and they create an external reference automatically.

2nd, consider a flexible model in the assembly (make flexible). You can change a part feature to some assembly level value. There are quite a few options when you do this.

3rd, you can use merge models in case you need some extensive external reference. Typical for tooling operations, but useful in some other cases.

Things to remember about external references is to know when the part level updates and how changes are rolled up at all levels. This is where I get squeamish about external references. The more complex the operation, the higher the likelihood of corruption.

Can you share more about what you wish to achieve to better match a method?

1-Visitor
October 25, 2014

I've attached a simplified assembly of what I am working on. I am designing a mold.

If you look at the attached picture there are parts that get bolted to the plate. I created the holes in the part first and then used them as a reference to create the holes in the plate.

I created a parameter called pitch to define where the parts are located. Now I want to use this pitch parameter to pattern the bolt holes in the plate using a relation.

Hopefully this makes sense.

17-Peridot
October 25, 2014

That shouldn't be hard. Let me try this before I put my foot in my mouth ...again.

16-Pearl
October 25, 2014

You can create parameter in any part/assembly/sekleton and use/call it in some part.

Trick is to know assemblys/parts session id but you can get that info in relations-show tab-Session id

then pick assy or part from which you want to "steal parameter".

Use that id in relations of part which is "stealing" parameter like X=PARAMETER_NAME:session id

I use this to change part numbering by changing assemblys number when im reusing some huge assemblys that need thir numbering changed.

17-Peridot
October 25, 2014

Davor, session ID's are dynamic. Does this not risk unassociating this value?

16-Pearl
October 25, 2014

Oddly enough I didnt have this problem. But gona have to check this on monday on those assemblys when i open few more unasociated parts/stuff.

1-Visitor
October 25, 2014

A safe method is to use Pro/Layout or Creo Notebook**. See http://help.ptc.com/creo_hc/creo30_pma_hc/usascii/index.html#page/pma/assembly/asm_three_sub/About_Notebooks.html

It lets you store common values in a single place that can be used at a variety of levels. It's part of Top Down Design methods.

**Not Creo Layout, which is entirely different from Pro/Layout.

17-Peridot
October 25, 2014

Are notebooks included in core Creo?

1-Visitor
October 26, 2014

Ask your sales guy.