Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Upgrade CO to version

Hello

 

I have a problem with the usage of Upgrade CO to version.

When i try to upgrade a .co that has only one part(or component in it), it works just fine.

The problem is when i try to upgrade a .co that has more components in it,

for example, here is a part of logfile of such a trial:

"Getting filename.co...
Failed to load component filename.co.
@libray_folder/library_folder2/vg_040_a10_t12_105.co - Prototype not found.
@other_lib_folder/other_lib_folder2/d16_l80.co - Prototype not found."

 

How can this be overcome? How can i upgrade a component with more prototypes in it?

 

Thank you.

6 REPLIES
Solution
Solution
Accepted by topic author endre_szucs
‎08-26-2015 04:32 AM

Re: Upgrade CO to version

Hello,

 

I assume you refer to Robcad SuperComponent.

If you use the command line application, you need to use the -libroot flag and enter the full path of Robcad libray root.

If you use the UI application (see attached image) use the Use Library Root option.

 

Regards,

Yuval

 

 

Re: Upgrade CO to version

I faced the same situation with Process Simulate. While upgrading CO to version:

 

 

I get the log:

 

Upgrading component approximations...
Upgrading approximation of component: E:\distr\robots\kr500l340_3.co...
Getting kr500l340_3.co...
Failed to load component kr500l340_3.co.
@parts/fupa_360_500.co - Prototype not found.
Failed to update approximation of component kr500l340_3.co.
Completed upgrading components approximations.
------------------------------------------------------------------------------------------------------------------------------------
Upgrading components...
Updating detailed information of component: E:\distr\robots\kr500l340_3.co...
Getting kr500l340_3.co as detailed...
Failed to load component kr500l340_3.co.
c:/Temp/1/TempJtDir/kr500l340_3.co - Load prototype failed.
Failed to update detailed information of component E:\distr\robots\kr500l340_3.co.
Failed to update material information of component E:\distr\robots\kr500l340_3.co.
Completed upgrading components.
------------------------------------------------------------------------------------------------------------------------------------
Upgrade CO components to COJT completed:
Failed to upgrade component E:\distr\robots\kr500l340_3.co.
Succeeded to upgrade 0 components.
There were 0 component upgrade warnings.
Succeeded to upgrade  0 components with errors.
Upgrade to Version did not process  0 components.
Failed to upgrade 1 components.

 

Whereas my LibraryRoot contains all required stuff:

 

 

Switching to CO target format doesn't matter. What could be the problem?

Re: Upgrade CO to version

Not real familiar with upgrading Robcad Supercomponents, but does the directory structure when the Robcad Supercomponent get saved in the .co somehow?  Looking at the log file...

Failed to load component kr500l340_3.co.
@parts/fupa_360_500.co - Prototype not found.

 

It looks like the @ symbol represents where the Libroot is defined too and then the fupa_360_500.co should be found under libroot in a parts folder.  Maybe you need to move the fupa .COs into a parts folder?

Re: Upgrade CO to version

Brilliant!

 

Thank you, you were right, @ means library root. Smiley Very Happy

Re: Upgrade CO to version

Hello guys!

 

I had the same problem trying to upgrade the FUPA from Robcad .co models.

The FUPA file is updated, but the Robot file no.

 

Here is the error log:

------------------------------------------------------------------------------------------------------------------------------------

Upgrading component approximations...

Upgrading approximation of component: D:\Convert\library\05_ROBOTS\IRB6640_185_280__DP2_02\irb6640_185_280__d2_02.co...
Getting irb6640_185_280__d2_02.co...
Option -libroot is missing or incorrect for supercomponent C:\Users\LASadmin\AppData\Local\Temp\TempCellDir\irb6640_185_280__d2_02.co.
Failed to load component irb6640_185_280__d2_02.co.
@05_ROBOTS/IRB6640_185_280__DP2_02/s_6640_280_kincable.co - Prototype not found.

Failed to update approximation of component irb6640_185_280__d2_02.co.
Completed upgrading components approximations.

------------------------------------------------------------------------------------------------------------------------------------

Upgrading components...

Updating united information of component: D:\Convert\library\05_ROBOTS\IRB6640_185_280__DP2_02\irb6640_185_280__d2_02.co...
Getting irb6640_185_280__d2_02.co as united...
Component's D:\Convert\library\05_ROBOTS\IRB6640_185_280__DP2_02\irb6640_185_280__d2_02.co united information updated successfully.
Updating detailed information of component: D:\Convert\library\05_ROBOTS\IRB6640_185_280__DP2_02\irb6640_185_280__d2_02.co...
Getting irb6640_185_280__d2_02.co as detailed...
Failed to load component irb6640_185_280__d2_02.co.
C:/Users/LASadmin/AppData/Local/Temp/TempJtDir/irb6640_185_280__d2_02.co - Load prototype failed.

Failed to update detailed information of component D:\Convert\library\05_ROBOTS\IRB6640_185_280__DP2_02\irb6640_185_280__d2_02.co.
Failed to update material information of component D:\Convert\library\05_ROBOTS\IRB6640_185_280__DP2_02\irb6640_185_280__d2_02.co.
Completed upgrading components.

------------------------------------------------------------------------------------------------------------------------------------

Upgrade CO components to COJT completed:

Failed to upgrade component D:\Convert\library\05_ROBOTS\IRB6640_185_280__DP2_02\irb6640_185_280__d2_02.co.

Succeeded to upgrade 0 components.

There were 0 component upgrade warnings.

Succeeded to upgrade 0 components with errors.

Upgrade to Version did not process 0 components.

Failed to upgrade 1 components.

------------------------------------------------------------------------------------------------------------------------------------

 

Does someone know what is the problem?

 

Thanks in advance!

Re: Upgrade CO to version

Hello L6Axis.

 

What are you trying to convert to ? .COJT ? As far as I know it is not possible to convert Robcad SuperComponents to a .COJT at all.

Look at the image of the U2V dialog that ila49 has posted above. When you select COJT as the target format, the section for Library Root is greyed out.

 

You can upgrade the .CO and for that you should check "Use Library Root" and supply the folder location of the supercomponent's components.

 

By the way - your log also seems to state the same issue JasonB mentioned (where U2V access two seperate locations, one under your TEMP folder and one on your D drive). It looks like it searching for the prototype under your sysroot and not the convert library on your D drive.

 

Kind regards,
Gal Snir