Cancel
Showing results for 
Search instead for 
Did you mean: 

Teamcenter Plugin get BOMLineNode from TCComponentItemRevision

Creator
Creator

Hi,

 

Has Teamcenter some way to get BOMLineNode from TCComponentItemRevision?

 

In Structure Manager command ExecutionEvent has BOMLineNode as parameter. Can I get BOMLineNode from MainPerspective?

2 REPLIES

Re: Teamcenter Plugin get BOMLineNode from TCComponentItemRevision

Creator
Creator

I self found solution for my task.

 

TCComponent[] childRevisions = (TCComponent[])itemRevision.getRelatedComponents("ps_children");

 

Or can use related type "structure_revisions" for BOMLine

Re: Teamcenter Plugin get BOMLineNode from TCComponentItemRevision

Legend
Legend

@dkotlyar wrote:

I self found solution for my task.

 

TCComponent[] childRevisions = (TCComponent[])itemRevision.getRelatedComponents("ps_children");

 

Or can use related type "structure_revisions" for BOMLine


But what about revision rules? What revision getRelatedComponents will return? A,B,C?