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

save a copy with user selected child parts through toolkit.

  • January 20, 2023
  • 2 replies
  • 2083 views

I am using Creo Parametric Release 5.0 and Datecode5.0.5.0

Save a copy of assembly with selected child parts getting renamed.
has to provide users to choose child - components either reuse or save a copy.

Best answer by VETTRI

USING 

Article - CS167257 article  we can achieve..
 
instead of rename you can set model handle and save a copy and replace new model in tree element

2 replies

23-Emerald III
January 20, 2023

What is the question?

VETTRI12-AmethystAuthor
12-Amethyst
January 25, 2023

Need to make save a copy of assembly with child components by toolkit Api..

 

when we do manually creo will ask to choose users either need to reuse or save a copy for each and every components inside assembly.

But while using promdlnamecopy() this API this will automatically reuse all the child components. but i need save a copy with child components,

 

VETTRI12-AmethystAuthorAnswer
12-Amethyst
January 31, 2023

USING 

Article - CS167257 article  we can achieve..
 
instead of rename you can set model handle and save a copy and replace new model in tree element
RPN
18-Opal
January 31, 2023

But you will have fun with references and family table objects. I still prefer to rename and later save to disk. For Windchill it is more difficult, because disconnect has a couple of side effects. All rename may easier in an asynchronous application, because of memory handling.