Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error when Paste with Link 2

Status
Not open for further replies.

rossly

Automotive
Sep 22, 2003
115
When attempting to paste result with link I get the following error:

Paste is forbidden:Impossible to create an external referance:selection in <Original Data file> is forbidden since <File data to be pasted> was designed in concext <?>

The best I can figure out is that there is some data from <File data to be pasted> is in <Original Data file>. Any ideas?
Ross.
 
Replies continue below

Recommended for you


When you have some associative link from Part A to Part B it is not possible to make link from B to A anymore.

Check the links with DESK command and you will see that the part you are trying to paste already has links with destination part.
 
I think the word "context" is the clue to the error message.

The parts already contain external reference links that were made in the context of a specific CATProduct assembly. And now you're trying to add more links, but your working in a different assembly.

Or, you might have more than one instance of the same part and you're trying to add the link to the secondary instance.

You can verify this, by looking at the icons in the assembly tree: Instances that contain a green gear are in context and more links can be added. A brown gear (which I think is what you have) means an out-of-context, secondary instance.

You have several options to fix this:
1. close this product and open the original (context) product
2. change this product to be the contextual product. (With the product active, right-click on the part instance, then Components + Define Contextual Links
3. open both parts in their own windows, and then do the copy&paste
 
jackk,
I have the situation that CATPart explained. I am trying to link data from PartA into PartB and the some data in PartB into PartA. So, that is impossible? Seems silly. I was a UG guy for ages, yes have made the switch and am very happy, and this is something that is a non issue.

If that is the case, then I live with it and complain. Don't we all love to make those differances in systems complints.

Thanks guys.
Ross.
 
I agree with you Ross, but DS did it in this way... maybe there is some workaround that I'm not aware of.

In past I tried to experiment, one not so sofisticated solution that works in special cases is:

If you have link from A ---> B and need to copy one body from B to A ( note: this body must be created with no references from A ) copy this body in new part C then paste it from C ---> A... If I remeber good this solution worked.

 
The problem is not that you can't do what you want, it's in the manner you are doing it.

There are several kinds of links within CATIA V5. The link you are trying to create is commonly known as a Contextual Link. This means that the link is in the "Context" of an assembly. The problem is that this part already has a link in the "Context" of a different assembly. If you really want Contextual Links to both parts, you need to find a common assembly in which they both belong, and then re-define your Context to that assembly.

If you do not care if your links are in the context of an assembly, I suggest that you delete the first link from your part, then open all 3 parts in separate windows, and do a Copy/Paste Special/As result with Link. This will create what are known as CCP links, and they won't care anything about a Context.

Hope that helps. Once you understand the various types of links in V5, they can be very powerful.
 
catiajim,
If they are part of a common assembly but they don't need to be in Context, both are designed in body position (no repositioning), can I make them non-context after the fact or should I close the product and open just the parts.

I knew that once I saw you added you two cents, I would walk away smarter.:)
 
Glad to hear it was as simple as CATPart explained. Thanks for the feedback.

Yep, CATIA's Parent/Child philosophy is the child can never be the parent also.
 
I don't believe that you can change a contextual link into a ccp link. I think that you have to delete it and re-do the link.
 
Catiajim,

I have modified one of my products, following your instructions - opening two parts in new window and pasting with link... so far everything worked fine.

Today I have pasted the BODY which dosen't fit in the right place in the destination part.

Is the problem different axis systems? if yes, is it possible to do it without context?
 
Sounds like the parts are positioned inside of the assembly. In this case, you may need to go with the Contextual Links - that's one of the big advantages of using this type of link.

It may be possible to copy/paste the axes as well as the solid and then perform a transformation after the paste.
 
Catia is a great tool, and I wouldn't change... but with links I must say that is little bit complicated.

I will explain what I'm doing... I have die casting die that has fixed cavity, chamber (modeled outside product) and runner system.

- Cavity needs the associative link from chamber, this is OK
- Than I modeled the ruuner, and the runner also need associative link to chamber ( if I change the diameter of piston) this is also OK

- Now I need to past the runner inide fixed cavity to make boolean operation - Immposible with contex and outside contex the positioning is wrong!
 
CATPart - the impossible with contex error, do you have an external parameter or reference from the cavity to the runner? Or it could be the state of your cavity file - green arrow & white gear in the symbol of the CATPart? This is an Instance of the Definition Instance. Double pick the top level of assembly - change the context of the cavity part to the context of the main assembly.

Regards,
Derek


 
Derek,

Sorry, I gave the wrong info, I have problems pasting from 'Runner' (DEFINITION INSTANCE) to 'Spreader' (INSTANCE OF THE DEFINITION INSTANCE)... I don't know how the spreader became Instance of def. ins.

Tree.jpg

Tree_1_forum.jpg

Rgds,
Damir
 
From your picture, the Runner is a Contextual Part and it is in it's definition context (it is also the Definition Instance of the part). I can tell this because the little gear in the icon is GREEN. You probably did a Copy/Paste while in this assembly mode.
The only reason that I can see why you cannot copy/paste from this part to the Spreader part is if you have already copy/pasted from the Spreader to the Runner (i.e. a circular link).
 
CATPart - Is spreader in a product created outside of the context of the main assembly? It has linked information in it.

Regards,
Derek
 
Derek,

YES, the spreader is product created outside the main assembly.
 
White gear on Spreader means that it is the Definition Instance of the part, but that the current context is a higher level assembly than the Definition Context of the part.

If you redefine the Context of the Spreader to be the current assembly, you should be able to make the paste operation that you are desiring. You can do this by right clicking on the part (with the top level assy current in-work object), going to the Object, and Define Contextual Links. This will require a Part Update.
 

Thanks Jim, now is OK...

I tought that I understand links management :), do you
maybe have some links management tutorial that you can share?

Rgds,
Damir
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor