Skip to main content
1-Visitor
March 9, 2022
Question

Parameter driven components and the replace components feature

  • March 9, 2022
  • 1 reply
  • 1976 views

Hi! 

I'm a new creo convert, so still learning my way round. I've got an assembly, which comprises of essentially a pair of cylinders that extend, and a framework linking them. The cylinder comes in three different length variations, but the width between the cylinders varies. 

At present each product variation is created by parametrically controlling the distance between the cylinders which drives the sections of frame between. However at present to swap between the three cylinders the sub assembly is swapped over via using the 'Replace Selected Components or UDF' function, and this works perfectly at the moment.

 

However, I want to try and automate the generation of the cover which goes over said frame, and at the moment the width is done parametrically, however the length requires manual intervention. I've already got inside each of the cylinders a parameter for the cover length which in the top level works, but as soon as I change the cylinder this link is broken and it won't find the (same) parameter in the new assembly.

 

Is there a way to make this work?

 

1 reply

SS500011-VisitorAuthor
1-Visitor
March 9, 2022

just to add, the reason why it is not working is because the session ID of the parts is different, if I correct this then it works... but I kind of hoped not to have to do that 

17-Peridot
March 10, 2022

Try to move the parameter from model level to a component level.

SS500011-VisitorAuthor
1-Visitor
April 1, 2022

I'm not entirely sure what you mean.

For now I'm still just manually updating the Session ID everytime I do this