Образовательный курс по платформе Autodesk Forge.
0 Пользователей и 1 Гость просматривают эту тему.
1092 падает
Александр Ривилис,DocumentServiceExtensions.UpdateFileLifeCycleDefinitions( ) для изменения редакции, но у метода на вход состояния жизненного цикла
Александр Ривилис, только изменить ревизию ( запустить через API команду "Изменить редакцию").
Dear Alexander Rivilis,Thanks for contacting ADN support. From the error, it seems that the code is trying to check out a file which is not the tip version.So in your code instead of the below line:File file = connection.WebServiceManager.DocumentService.GetFilesByMasterId(_need).First();Try using:File file = connection.WebServiceManager.DocumentService.GetLatestFileByMasterId(_need);Hope this helps. Do let me know if it doesn't.