Cancel
Showing results for 
Search instead for 
Did you mean: 

Create Bi directional relation in Teamcenter 11.2.3

Valued Contributor
Valued Contributor

Hi,

 

I have below scenario where user connects 

DrawingRevision (Primary) ------> DesignRevision (Secondary) with Relation1.

 

When Relation1 is  created I want to automate the creation of Relation2 from DesignRevision (primary)-----> DrawingRevision (Secondary).

 

This is reauired in order to find the related DrawingRevision from DesignRevision.

 

 

I know it is possible to Add on extension on relation1 to Automate creation of Realtion2.

 

Is there any OOTB way to auto mate creation of Relation2?

 

 

 

5 REPLIES

Re: Create Bi directional relation in Teamcenter 11.2.3

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Hello,

 

I don't think it is possible OOTB way. Customization will be required.

 

A suggestion:

I think you could get away defining only 1 relation and use runtime properties (on other object) to show its relation with the primary object.

 

Harish

Re: Create Bi directional relation in Teamcenter 11.2.3

Valued Contributor
Valued Contributor

Hi Harish,

 

Thanks for reply. 

 

Runtime property causes performance issues and thats why we are moving towards bi directional relation.

 

Re: Create Bi directional relation in Teamcenter 11.2.3

Experimenter
Experimenter

Hi joisbalu,

 

I actually need to implement the same kind of relation.

Let me know if you found something interresting for the bi-directional relation implementation using extension?

 

Regards

 

 

Re: Create Bi directional relation in Teamcenter 11.2.3

Valued Contributor
Valued Contributor

Hi,

 

I have added an extension on GRM_create of primary relation to create secondary relation automatically. If you are not using these revisions in BOM then you can explore the possibility of having a run time attribute on secondary to hold primary revision.

Re: Create Bi directional relation in Teamcenter 11.2.3

Experimenter
Experimenter

Hi,

 

Thanks for your fast reply!

I had created the GRM_create extension and attached it as a post-action on the relation BO.

Now, I have to implement the property operation with business logic. And that is where it gets tough.

The signature of my operation looks like this:

int XYZ4_EquivalenceExt( METHOD_message_t * msg, va_list args){...}

 

Do you have any recommendation of documentation, where I can find examples besides TC C++ API reference?