Get Component History Programmatically - RTC 4.02
![]()
Hakki Bozkurt (163●12●27)
| asked Feb 04 '14, 4:24 a.m.
retagged Feb 18 '14, 2:41 p.m. by Sonia Dimitrov (271●5●9)
Hi all,
Can i get component history or last change date?
Is that possible? And, if possible how can i do it? Which way?
|
Accepted answer
![]()
Hi Hakki,
the IChangeHistory and IChangeHistoryDescriptor interfaces may help. An IChangeHistory is associated with a component. ... IWorkspaceConnection ws = ... IChangeHistory changeHistory = ws.changeHistory(component); while( changeHistory != null ) { IChangeHistoryDescriptor d = changeHistory.getHistoryDescriptor(true, null); changeHistory = d.previousHistory(); } ... Ralph Schoon selected this answer as the correct answer
|