Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unresolved link to Content Content Center files after file cache move

43 REPLIES 43
SOLVED
Reply
Message 1 of 44
guyh
4459 Views, 43 Replies

Unresolved link to Content Content Center files after file cache move

Hi,

 

I have moved the Inventor Content Center ipt files created when the users place a part.  The project file has been updated to reflect this but when I open an assembly to test all is well I have unresolved links with the assembly still looking to the old location for the IPT files.

 

I am at a loss as to what may be wrong as I thought the project file would control where Inventor looks to automatically resolve these links?  My only idea is that because we have German, French and English users the relevant folders contain the same parts and inventor can not pick between them?

 

Thanks for any help.

 

Guy

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
43 REPLIES 43
Message 21 of 44
alessandro.gasso
in reply to: guyh

Hi Guy,

 

I’m sorry, but I cannot answer to this question because I don’t know how you PLM works, but probably yes.

 

By the way, before doing this, try to use the tool I’m sending you in attachment.

 

  • Run CCCleaner.exe from folder CC_cleaner\CC_update\obj\Release
  • Select the project that refers to all the assemblies in your PLM.
  • When the assemblies will be listed in the dialog start the cleaning.

 

Tool.png

 

The process of this tool is basically the same of the one you have done with Task scheduler, but it should not be necessary to check out the assemblies for doing that.

 

As you can understand, I cannot guarantee this is going to work with the files in your PLM as well, since this has been tested just with our DM systems.

 

Unfortunately, if this doesn’t work with your PLM, I think you are the person that can find the best solution, knowing all the details of your PLM and why the problem was solved after running the Task Scheduler process I’ve suggested and why you still have the problem opening the assembly from the PLM.

 

Kind regards,

Alessandro



Alessandro Gasso
Fusion 360 – Simulation/Generative Design Adoption Specialist
Autodesk, Inc.
Message 22 of 44
guyh
in reply to: alessandro.gasso

Thanks Alessandro,

 

I will test and report back.  I really appreciate your assistance.

 

Best Regards

 

Guy

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 23 of 44
guyh
in reply to: guyh

Hi Alessando,

 

yes it's me again....

 

with the Project set to look to L: for the CC parts I opened an assembly from the PLM containing CC parts.  I had the unresolved link box.  I skipped all and then used the Refresh content button.  I am told no standard components exist in the assembly.  (see attached screen cap).

 

I have taken over from somebody else and we have a company standard CC library comprising of standard CC components and some company specific components.  I am not sure who configured it.

 

I migrated this with ADMS to 2011 version.  The library is deployed as a desktop library on a network location (L:).  Is this caused because some of these parts may have been placed from a standard Inventor library which is now not available when I want to refresh the parts?

 

Thanks

 

Guy

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 24 of 44
alessandro.gasso
in reply to: guyh

Hi Guy,

 

Not sure if I’ve understood this correctly, but, if you click on Skip all when you get the Resolve Link dialog for the CC parts, of course you get the message that no Standard Parts are available in the assembly when you click on Refresh.

 

Did you try to set in the project that assemblies in your PLM refer to, the original CC File folder "P:\CAD_POOLS\INV_CC" and use my tool for refreshing the Standard Parts?

 

Thanks and regards,

Alessandro



Alessandro Gasso
Fusion 360 – Simulation/Generative Design Adoption Specialist
Autodesk, Inc.
Message 25 of 44
guyh
in reply to: alessandro.gasso

Hi Alessandro,

 

Yes you understood correctly.  Sorry I did not attach the screenshot but you got what I did.  I thought the function would be able to reload the parts in to the assembly from the CC Library references and create the new version of the parts in the library cache.  I did not realise this would not be possible so I have learnt another thing.

 

I tried your tool on one assembly and it worked perfectly.  My issue is the files in the PLM are approved so I could do the process of loading all relevant assemblies to the local cache (They are stored as an encrypted file inside the PLM) and running this process but the approval process essentially locks the files so I am not sure how I could make this work. 

 

I appreciate it is a very difficult situation for you to asses and advise on but I really appreciate all you help and input so far.

 

Best Regards,

Guy

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 26 of 44
alessandro.gasso
in reply to: guyh

Hi Guy,

 

No problem, it is my pleasure.

 

At this stage it is clear that, the only solution is to extract the assemblies from the PLM, make the Refresh, and then change the CC File folder path pointing to the new server.

 

Unfortunately, if this is absolutely not possible, the only workaround I can think of could be the following.

 

Edit the project and add the new path to both the Workgroup Search Paths and CC File folder, disregarding the warning.

In this way, if you open an existing assembly, you don’t get the Resolve Link,(but you have to live with the Duplicate Name dialog, unless you don’t remove the duplicate files from the FR subfolder for instance).

 

For the new assemblies, if you insert a standard part that has been already inserted in the existing assemblies, the file would be taken correctly from the CC File subfolder, as you wrote me as well yesterday.

 

The only weak point of this workaround is that, in the existing assemblies, since the standard parts get resolved by the Workgroup Search Path, they are not seen 100% as standard parts.

 

For instance, if you make the Refresh after you have opened the assembly, you should also get the message that, there are no Standard Parts in it.

 

In this case, the only way for “refreshing” the standard parts is to select them in the assembly browser, right-click, Replace from Content Center and selecting, for instance, the same part.

 

Of course this could be a tedious manual process and it is up to you if it is worth to do it.

 

Probably, since, as you wrote, the assemblies in the PLM are approved, I suppose, no big change are previewed for them, so, probably opening them without the resolve link dialog could be enough.

 

Thanks and regards,

Alessandro



Alessandro Gasso
Fusion 360 – Simulation/Generative Design Adoption Specialist
Autodesk, Inc.
Message 27 of 44
guyh
in reply to: alessandro.gasso

Hi Alessandro,

 

This is the same conclusion I am coming to.  If we can open existing assemblies with no issue even if it is a work around then it is not so bad.  All new assemblies with CC parts will function correctly.

 

I tried to do as you suggested and I still get the resolve link box.  I disconnected P to ensure no link to it.

 

If I copy the CC folder to my workspace then I have to pick the part to use but the assemblies will open fine.  I do not understand why this is different to the above situation. 

 

Cheers,

Guy

 

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 28 of 44
alessandro.gasso
in reply to: guyh

Hi Guy,

 

Are you saying that adding the new path to the Workgroup Search Path and CC File folder is not working?

 

If yes, try to add it just to the Workgroup Search Path and point the CC File folder to an empty folder.

 

Open the assembly and, if you can resolve the CC parts, make a Rebuild all and save it.

 

Then, add once again the path to the CC File folder and try again.

 

If it still fails, we need to rectify the workaround with the solution you have found, that is, copying the CC parts in the workspace for existing assemblies.

 

The behavior in this case is different because of the priority.

 

Inventor search in the workspace first and find the files.

 

Kind regards,

Alessandro



Alessandro Gasso
Fusion 360 – Simulation/Generative Design Adoption Specialist
Autodesk, Inc.
Message 29 of 44
guyh
in reply to: alessandro.gasso

Hi Alessandro,
Please see my comments.
Best Regards,
Guy

@alessandro.gasso wrote:

Hi Guy,

 

Are you saying that adding the new path to the Workgroup Search Path and CC File folder is not working?

 

Yes, it does not work this way.

 

If yes, try to add it just to the Workgroup Search Path and point the CC File folder to an empty folder.

 

Open the assembly and, if you can resolve the CC parts, make a Rebuild all and save it.

 

Then, add once again the path to the CC File folder and try again.

 

Done, opened OK. save, opened with CC to L: and confirmed opens OK.

 

If it still fails, we need to rectify the workaround with the solution you have found, that is, copying the CC parts in the workspace for existing assemblies.

 

The behavior in this case is different because of the priority.

 

Inventor search in the workspace first and find the files.

 

Kind regards,

Alessandro


 

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 30 of 44
alessandro.gasso
in reply to: guyh

Thanks for the confirmation Guy,

 

So, I think you should live with the workaround for existing assemblies, if you cannot extract them from the PLM and making the CC parts Refresh.

 

I hope this won’t be a serious issue for you and your Company.

 

Kind regards,

Alessandro



Alessandro Gasso
Fusion 360 – Simulation/Generative Design Adoption Specialist
Autodesk, Inc.
Message 31 of 44
guyh
in reply to: alessandro.gasso

Thanks for the support Alessandro,  It's been invaluable to me trying to resolve this problem.  I will investigate the possibility to rebuild the assemblies otherwise I will try to find a way to copy this CC folder to the users local cache.

 

Finally, on this subject of the files in the workspace.  If I combine the CC folders to one folder so we only have one ipt for each existing CC part am I correct that the assemblies will resolve themselves automatically this way?

 

Best regards,

Guy

 

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 32 of 44
alessandro.gasso
in reply to: guyh

Hi Guy,

 

If you mean rebuilding all the assemblies having the new path to the Standard Parts files in the Workgroup Search Paths and the path to en empty folder for the CC Files, in the active project, before to set the new path for the CC Files as well.

 

In other words, if you want to apply the latest procedure you have done manually, to all the assemblies and in batch mode, in theory there is no problem for doing this with Task Scheduler.

 

After setting the project as discussed, close Inventor, start Task Scheduler and select from the Create Task drop down menu, Migrate Files.

 

Select the project and set the option as in the image below.

 

Migrate2.png

 

After completing the “Migration" and if the log file confirms you that the procedure was successful, restart Inventor and set the new path to the Standard Parts files for the CC Files as well.

 

Of course, the question is if you can do it with the assemblies set as approved in your PLM.

 

About the last question, if you decide to go for the workaround to copy the Standard Parts files in the workspace for opening these assemblies, yes, combining them in one folder removing the duplicates should work fine.

 

Of course, the same files, under the CC Files folder should keep the original structure, for the new assemblies sake.

 

Kind regards,

Alessandro



Alessandro Gasso
Fusion 360 – Simulation/Generative Design Adoption Specialist
Autodesk, Inc.
Message 33 of 44
guyh
in reply to: alessandro.gasso

Hi Alessandro,

 

I do not think this procedure would be possible due to the way we extract the files from the PLM external to the CAD software. 

 

example:  ASM= DOC00001234

                   IPT=   DOC00002345

                   IPT=   DOC00003456

 

When extracted from the PLM they are renamed 1234567, 2345678, 3456789 etc.

 

The links are effectively broken.  I may be able to do it manually through the CAD with special privileges but I need to check this.

 

When I migrated I did not use the standard project file.  I created a project specifying a workspace where all these files were stored.  I left the content Center as default.  These were the settings in the options for the migration.

 

 

Should I have put the new CC folder location in the project file when migrating the assembly files?

 

Cheers,

Guy

 

 

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 34 of 44
guyh
in reply to: guyh

Thinking out loud here.....

 

If I was able to extract just the IAM files related to the CC parts would I be able to rebuild them with the tool you supplied Alessandro?  I know I would have unresolved assemblies as all the part files would not exist but would that work in theory?

 

I guess I could test myself.

 

cheers,

Guy

 

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 35 of 44
alessandro.gasso
in reply to: guyh

Hi Guy,

 

My last suggestion was just for automating the procedure below:

 

  • Try to add it just to the Workgroup Search Path and point the CC File folder to an empty folder.
  • Open the assembly and, if you can resolve the CC parts, make a Rebuild all and save it.
  • Then, add once again the path to the CC File folder and try again.

 And you have answered:

“Done, opened OK. save, opened with CC to L: and confirmed opens OK”.

 

As you wrote, if this or the tool I’ve sent you can be applied to the assemblies in the PLM, it is something you have to try.

 

If not, I think you should go for  the workaround discussed.

 

Kind regards,

Alessandro



Alessandro Gasso
Fusion 360 – Simulation/Generative Design Adoption Specialist
Autodesk, Inc.
Message 36 of 44
guyh
in reply to: alessandro.gasso

Hi Alessandro,

 

I think it is clear for me now how to proceed.  Well I have 2 options at least I believe.

 

I just ran a test of the process you describe above.

 

I used the Task Scheduler to refresh standard components.  As part of the test I deleted the part files from the workspace to simulate an extraction of just the iam files.

 

With the project configured as you describe I ran the task.  After I was able to open the assembly automatically other than the expect resolve link for the part files.  I restored these and saved the IAM.  I then changed the project file to make the correct CC location.  The IAM opened perfectly.

 

I did the same test as above but I renamed my IAM to simulate the extraction from the PLM.  I did not open the assembly within inventor after this time.  I changed the Project to my desired settings with the CC as I want it.  I then opened the assembly and had to resolve the link to the CC parts.

 

I am sure you knew this would happen......

 

So I can use task manager to correct my files but I have to open each assembly after to save it seems (Is rebuild necessary?)  Can I create a custom task to automate this process for all my IAM files?  I would need to suppress the resolve link to part files though to do it with just the assembly files I believe?

 

I guess I am asking too much but maybe you can confirm.

 

Thanks again

 

Guy

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 37 of 44
alessandro.gasso
in reply to: guyh

Hi Guy,

 

I’m sorry, but I’m not sure I’ve understood what you have done exactly.

 

Please, find my comments below.

 

“So I can use task manager to correct my files but I have to open each assembly after to save it seems (Is rebuild necessary?) “

 

If I’ve understood this correctly, you have to do it because you have deleted the part files from the workspace. The Rebuild is recommended.

 

“Can I create a custom task to automate this process for all my IAM files?  I would need to suppress the resolve link to part files though to do it with just the assembly files I believe?”

 

I think the problem here is exactly the resolve link dialog you get due to the fact you have deleted the part files from the workspace.

 

I believe you can find on the web some tools that you can easily programming for pressing the Skip button when you get the dialog.

 

If you find one of these tools, the Task Scheduler process is automatic by definition.

 

I hope I’ve answered to your questions.

 

Kind regards,

Alessandro



Alessandro Gasso
Fusion 360 – Simulation/Generative Design Adoption Specialist
Autodesk, Inc.
Message 38 of 44
guyh
in reply to: alessandro.gasso

Hi Alessandro,

 

I am running a test now using the task scheduler.  I am using a sequential task to first run the refresh standard components and then update design.  I used the project file configured with the empty CC as our discussions.  For the update design process I selected rebuild and also skip unresolved references.

 

the process is taking some time because it running through all the CC files due to them being in a workpath.

 

I may be way off with this test but I thought it was worth a try

 

Thanks,

Guy

AutoCADM 2011 SP2
Inventor Pro 2011 SP2
Message 39 of 44
alessandro.gasso
in reply to: guyh

Hi Guy,

 

I’ve received an internal notification you still need assistance for this problem.

 

I think I’ve provided all the suggestion I could for resolving or, at least find a workaround for it, considering the specificity of your working environment.

 

By the way, if you think I can still assist you on this, please, let me know.

 

Thanks and regards,

Alessandro



Alessandro Gasso
Fusion 360 – Simulation/Generative Design Adoption Specialist
Autodesk, Inc.
Message 40 of 44
guyh
in reply to: guyh

Hi Alessandro,

 

Your help has been fantastic.  Sorry if this flagged up an aleart for you.  You help has made my understanding a lot clearer but I guess the issue is still not totally resolve which is why I clicked no. 

 

Thanks,

Guy

AutoCADM 2011 SP2
Inventor Pro 2011 SP2

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report