Skip to main content
5-Regular Member
September 30, 2024
Question

Fix all parts in an assembly

  • September 30, 2024
  • 1 reply
  • 2687 views

Hi everyone,

 

I am having an issue with fixing parts in Creo Parametric 6.0. We are a team which works on chassis manufacturing and we have a lot of parts in our assembly files. Sometimes we have some reference issues and we have to delete all constraints and fix all parts in assembly. I created a mapkey for this but it just does one part with one keytap. So we need to fix all the parts but faster. We are using Windchill PLM by the way. (If you need this information.) Thanks in advance for the help!

1 reply

24-Ruby III
September 30, 2024

Hi,

possible solution:

  • expand the contents of Model tree
  • save the contents of Model tree into txt file
  • run program (developed by you) which reads txt file, extracts part names and generates trail file
  • play trail file

 

The block of trail file lines related to single part should contain:

  • selection of part using Search dialog
  • running of your mapkey

 

5-Regular Member
September 30, 2024

Hi Martin,

 

Thank you for your help, 

I created txt file but I don't think it is possible to exract part names with mapkey command. I tried to copy and paste in mapkey but I think it does not work. Maybe I need an API or something but I don't know how can I do it. 

And I cant see any trail file in working directory. 

Yes I can see part numbers also I can export them with PLM but I couldnt make mapkey to read that part numbers. 

 

Maybe you can explain a bit detailed or if anyone could help, it will save me a lot of time.

Thanks in advance.

 

Enes

24-Ruby III
September 30, 2024

Hi,

please send me your mapkey (mapkey use to fix component position).