Skip to main content
12-Amethyst
January 11, 2023
Solved

How to transfer Inheritance Feature Part number

  • January 11, 2023
  • 1 reply
  • 3357 views

Hello,

 

What would be the best way to get the inheritance part number into a drawing. 

 

I am using creo with windchill

 

My scenario is that i would like to be able to refer to this in a drawing automatically, i have been trying to see if there was a method with the parameters but when i create the inheritance feature, the file name is the only thing i can refer to, which the file name and PN do not always match. 

Best answer by YaroslavSin

In TEST.PRT create a relation

 

NUMBER = PTC_WM_PART_NUMBER:IID_206

 

where 206 is an ID of the inheritance feature

1 reply

tbraxton
22-Sapphire II
22-Sapphire II
January 11, 2023

Refer to the article I posted in this thread. There is a zip file in my first post in that thread you can download and read. It explains how to deal with relations and parameters in the context of what you are doing (excluding any Windchill quirks which it does not address).

 

https://community.ptc.com/t5/3D-Part-Assembly-Design/Inherited-models-with-vardim-dimensions/m-p/802980 

AnthonyC12-AmethystAuthor
12-Amethyst
January 11, 2023

thanks for the fast response. 

You will have to be patience with me, as i am fairly new to Creo.
AnthonyC_0-1673450398891.png

I am unable to add the PTC Part number or the CAD number (which matches the PN) to the varied items field. i assume its something to do with them being locked and auto generated by windchill, as i could pull two values that i create.

I suppose i need to somehow create the relation of the original PN, have that as a parameter in the new/machined PN. 

tbraxton
22-Sapphire II
22-Sapphire II
January 11, 2023

If those parameters are Windchill generated and locked, then I would not expect that they would be variable so not a surprise that they are not valid entries for inclusion as a varied item in an inheritance feature. 

 

You should be able to concatenate a string with the master model part number (or another parameter) to create a new part number string for the as machined model. Can you verify that you are able to pass the part number parameter from the master model to the derivative model through the inheritance feature?