Hello ,
1st
We need to move our Factory Files which we formerly adopted. Due to our PDM system we can not stick to the folderstructur anymore. Now the path mentioned in the refering IKS file is wrong.
We talk about 1200 files which include the wrong path now . Is there a tool to set this right ?
2nd
What about checking for IKS files which are not in use. How to sort out those ?
Thank you / Regards
Timo
Solved! Go to Solution.
Solved by sszabo. Go to Solution.
I agree with comments above. I would also note that an adopted part usually has two IKS files: one you should not change which is named "<yourPart>Adopt.iks", and another that is designed for you to change, named "<yourPart>.iks", which mixes in the adopt one. The only path rule involved here is FactoryFileDirectory, which you can override in the editable file, and you can even stick in a new mixin "myPDMmixin" into that file so that you can control the path in one place, for all 1200 files. So if you are going to edit 1200 files, I would do it in a way that you only have to do it once.
You may already have the right structure in place (with 1200 cases, I would hope so).
Thank you for this SSZAbo , I will give it a try
However I like also the idea from Jack.
Jack you mean I put code in every "<yourPart>.iks" to override the FactoryFileDirectory or by telling that I do it ones I put coder or a mixxin in the IvAdoptedPartModifier ? What other way would be there to reach all Adopted Files ?
Thank you / Regards
Timo