Hi,
I am using EPDM API to change state of a file, utilizing ChangeState from IEdmFile8 Object like this
File.ChangeState(NextState.ID, Folder.ID, Comment, Process.GetCurrentProcess.SessionId, StateFlag)
When i change state from API, the Task operation that is supposed to execute during that transition doesnt start,
while from EPDM command does.
Also tried IEdmBatchChangeState , same result.
This doesnt look correct,
Is there another way to correctly change state of a file from API?
Thanks in advance!!
SolidworksApi macros