Cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

How to get refreshed/new BOMLine after the revise of underlying Revision of a BOMLine using ITK

Siemens Experimenter Siemens Experimenter
Siemens Experimenter

Hello Experts,

 

I have a requirement where I need to revise a revision(e.g. 'A') of a BOMLine and add/remove new children, set some BOMLine properties under the BOMLine corresponding to the revised Revision(e.g. 'B'). If I make a call for 'BOM_refresh_window', then I am able to get the BOMLine corresponding to revised revision. But the call for 'BOM_refresh_window' is expensive and it refreshes complete BOM. As I need to do this revise and update on BOMLine for many lines, I should not use 'BOM_refresh_window' after update(revise) for each line. I have also tried with load/refresh of PSOccurrence/OccurrenceThread/BVR etc., but nothing works. Is there any ITK API which does the refresh for an assembly and not for entire BOM or is there an alternate way to achieve this with least negative impact on performance. Any snippet, ideas to achieve this would be very helpful.

I am currently working at TC 11.4.0.8

 

Regards,

Ruchi