Skip to main content
1-Visitor
Jun 13, 2022 5:59 AM UTC
Question

How to uniquely identify a part or assembly in Creo?

Hi All,

 

I have a requirement where we are pushing the part or assembly files to cloud and making a note of the transaction. Before pushing the part or assembly to cloud, I want to be able to check if it has already been pushed before. I need a way to uniquely identify a part or assembly, and using the file name is not an option since two different designs can have the same file name.

Any help is much appreciated.

 

Thanks,

Apoorva

2 replies

21-Topaz I
Jun 13, 2022 9:47 AM UTC

Hi @AK_9776674 

 

Short answer : use Windchill. 😋

 

Seriously, you need to create a unique identifier and indeed the name does not suffice. 

One of the items of the model that you can try adding to your key/identifier is the iteration.

 

Good luck.

Translate
15-Moonstone
Jun 13, 2022 10:07 AM UTC

You can create hash for each file and then push it to cloud with model file. 

Next time when you push newer version you will compute hash of local file and compare it with hash stored in the cloud.

e.g. This is how git hash files https://stackoverflow.com/questions/35430584/how-is-the-git-hash-calculated

Translate