Skip to main content
12-Amethyst
Jan 20, 2023 2:10 PM UTC
Solved

save a copy with user selected child parts through toolkit.

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.

VETTRIAnswer
12-Amethyst
Jan 31, 2023 5:03 AM UTC

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

4 replies

StephenW
23-Emerald III
Jan 20, 2023 2:11 PM UTC

What is the question?

Translate
VETTRI12-AmethystAuthor
12-Amethyst
Jan 25, 2023 6:59 AM UTC

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,

 

Translate
VETTRI12-AmethystAuthorAnswer
12-Amethyst
Jan 31, 2023 5:03 AM UTC

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
Translate
RPN
18-Opal
Jan 31, 2023 7:08 PM UTC

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.

Translate