Я выполняю задание DA на основе примера кода, и некоторые из моих правил ilogi c, кажется, вызывают его сбой. Первоначально они работали нормально, но когда я перевел результаты на MD API, некоторые компоненты все еще были видны, несмотря на то, что они были подавлены в выводе результатов. Я прошел через правила верхнего уровня и решил эту проблему, установив компоненты на visible = false, что решило проблему по большей части. После того, как я проверил мои подсборки, я протестировал ilogi c, а затем загрузил последнюю версию.
Теперь я получаю ошибки в части обработки ilogi c DA (если я запускаю logi c вручную с моей деятельностью, я не получаю сообщение об ошибке до процессора iLogi c DA). Я попытался добавить пробные зацепки к строкам видимости в ilogi c, но безрезультатно. Я также не могу определить, какие правила или компоненты вызывают проблему.
Более того, похоже, что ilogi c пытается запустить в конце выполнения действия, после того как результаты заархивированы - это это верно?
Это вывод журнала:
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : Setting BridgeConfig to "3 Station"
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : Ending HeartBeat
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : params: TunnelVisibility, false
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : HeartBeating every 50000ms.
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : Setting TunnelVisibility to false
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : Ending HeartBeat
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : Getting full file name of assembly
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : ** Saving SVF
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : HeartBeating every 50000ms.
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : SVF Translator addin is available
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : SVF Translator addin is available
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : SVF save
[02/18/2020 19:38:02] InventorCoreConsole.exe Information: 0 : SVF files are oputput to: T:\Aces\Jobs\bcc3160360d84b849acae7443caaf428\inputFile\Playset\SvfOutput
[02/18/2020 19:38:05] InventorCoreConsole.exe Information: 0 : SVF can be exported.
[02/18/2020 19:38:05] InventorCoreConsole.exe Information: 0 : ** Saved SVF as T:\Aces\Jobs\bcc3160360d84b849acae7443caaf428\inputFile\Playset\SvfOutput\result.collaboration
[02/18/2020 19:38:05] InventorCoreConsole.exe Information: 0 : Ending HeartBeat
[02/18/2020 19:38:05] InventorCoreConsole.exe Information: 0 : Zipping up T:\Aces\Jobs\bcc3160360d84b849acae7443caaf428\viewable.zip
[02/18/2020 19:38:05] InventorCoreConsole.exe Information: 0 : Zipping the following files:
[02/18/2020 19:38:05] InventorCoreConsole.exe Information: 0 : HeartBeating every 50000ms.
[02/18/2020 19:38:05] InventorCoreConsole.exe Information: 0 : Ending HeartBeat
[02/18/2020 19:38:05] InventorCoreConsole.exe Information: 0 : Saved as T:\Aces\Jobs\bcc3160360d84b849acae7443caaf428\viewable.zip
[02/18/2020 19:38:05] InventorCoreConsole.exe Information: 0 : Saving updated assembly
[02/18/2020 19:38:08] InventorCoreConsole.exe Information: 0 : Zip path: T:\Aces\Jobs\bcc3160360d84b849acae7443caaf428\inputFile\Playset
[02/18/2020 19:38:08] InventorCoreConsole.exe Information: 0 : Zipping up T:\Aces\Jobs\bcc3160360d84b849acae7443caaf428\result.zip
[02/18/2020 19:38:08] InventorCoreConsole.exe Information: 0 : Zipping the following files:
[02/18/2020 19:38:08] InventorCoreConsole.exe Information: 0 : HeartBeating every 50000ms.
[02/18/2020 19:38:09] InventorCoreConsole.exe Information: 0 : Ending HeartBeat
[02/18/2020 19:38:09] InventorCoreConsole.exe Information: 0 : Saved as T:\Aces\Jobs\bcc3160360d84b849acae7443caaf428\result.zip
[02/18/2020 19:38:09] InventorCoreConsole.exe Information: 0 : Ending HeartBeat
[02/18/2020 19:38:09] InventorCoreConsole.exe Information: 0 : Performing iLogic diagnostics...
[02/18/2020 19:38:09] InventorCoreConsole.exe Error: 0 : iLogic error
[02/18/2020 19:38:09] Context: RuleRunning
[02/18/2020 19:38:09] Details: System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
[02/18/2020 19:38:09] at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
[02/18/2020 19:38:09] at Inventor.ComponentOccurrence.set_Visible(Boolean )
[02/18/2020 19:38:09] at iLogic.ComponentInRule.set_Visible(Object componentName, Boolean value)
[02/18/2020 19:38:09] at ThisRule.Main()
[02/18/2020 19:38:09] at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
[02/18/2020 19:38:09] at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
[02/18/2020 19:38:09] InventorCoreConsole.exe Error: 0 : iLogic error
[02/18/2020 19:38:09] Context: RuleRunning
[02/18/2020 19:38:09] Details: System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
[02/18/2020 19:38:09] at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
[02/18/2020 19:38:09] at Inventor.ComponentOccurrence.set_Visible(Boolean )
[02/18/2020 19:38:09] at iLogic.ComponentInRule.set_Visible(Object componentName, Boolean value)
[02/18/2020 19:38:09] P r o c e s s i n g f a i l e d
[02/18/2020 19:38:09]
[02/18/2020 19:38:09] at ThisRule.Main()
[02/18/2020 19:38:09] at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
[02/18/2020 19:38:09] at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
[02/18/2020 19:38:09] InventorCoreConsole.exe Information: 0 : End of iLogic diagnostics...
[02/18/2020 19:38:09] InventorCoreConsole.exe Information: 0 : Deactivating plug-in: UpdateUserParametersPlugin
[02/18/2020 19:38:09] InventorCoreConsole.exe Information: 0 : : UpdateUserParametersPlugin: deactivating...
[02/18/2020 19:38:09] [SBXMSG] The process 2184 ended.
[02/18/2020 19:38:09] [SBXMSG] Process exit code: -1
[02/18/2020 19:38:10]
[02/18/2020 19:38:10] End Inventor Core Engine standard output dump.
[02/18/2020 19:38:10] Error: InventorCoreConsole.exe exits with code -1 which indicates an error.
[02/18/2020 19:38:10] End script phase.
[02/18/2020 19:38:10] Error: An unexpected error happened during phase CoreEngineExecution of job.
[02/18/2020 19:38:10] Job finished with result FailedExecution
[02/18/2020 19:38:10] Job Status: