Jlink - Identify model changes in a directory
Hi all,
I am working on automating few flows in Creo 8.0.3 using jlink.
Is there a way to identify if a model has been modified in creo? I have tried few apis provided in jlink toolkit documentation - GetIsModified() and GetVersionStamp(). Although the output of these methods depend on 'save' action triggered by users. I am looking for a way to track changes in files since the beginning of the session and to identify if any modification in sub-assembly or components changes the parent assembly as well.
Java provides a way to track file changes in a directory using WatchService
I am successfully able to identify if a sub-assembly or its parent has been modified by registering the workspace and track changes using this method. Are there any limitations to this approach? And is this how creo tracks changes in a model?
Thanks

