0

Forge の設計自動化 (V3 ベータ) はまったくの初心者です

設計自動化フレームワーク内での作業項目の実行中に、CorruptModelException がスローされます。

お送りしているモデル(.rvt)はデスクトップ環境(R2018)で問題なく開きます。

未使用と再保存をパージしようとしましたが、役に立ちませんでした。問題を示すログの一部を次に示します。

[04/17/2019 10:11:16] Found an addIn for registration: xxx.addin
[04/17/2019 10:11:16] Initializing RCE....
[04/17/2019 10:11:16] Initializing RevitCoreEngine (and possibly running stub installer)...
[04/17/2019 10:11:16] Language not specified, using English as default
[04/17/2019 10:11:18] Initialize and  get RCE: (VersionBuild) 18.0.0.0 (VersionNumber) 2018 (SubVersionNumber) 2018.3
[04/17/2019 10:11:18] Autodesk.Revit.Exceptions.CorruptModelException: The model could not be opened: Unspecified error
[04/17/2019 10:11:18]  (COleException 0x80004005)
[04/17/2019 10:11:18]    at Autodesk.Revit.ApplicationServices.Application.OpenDocumentFile(String fileName)
[04/17/2019 10:11:18]    at DesignAutomationFramework.DesignAutomationData..ctor(Application revitApp, String mainModelPath)
[04/17/2019 10:11:18]    at DesignAutomationFramework.DesignAutomationReadyEventArgs..ctor(Application revitApp, String mainModelPath)
[04/17/2019 10:11:18]    at DesignAutomationFramework.DesignAutomationBridge.SetDesignAutomationReady(Application revitApp, String mainModelPath)
[04/17/2019 10:11:18]    at RevitCoreEngineTest.RceConsoleApplication.Program.UserMain(CommandLineArgs cl)
[04/17/2019 10:11:22] RESULT: Failure - Result of running user app is failure
[04/17/2019 10:11:22] Finished running.  Process will return: TestError
[04/17/2019 10:11:22] ====== Revit finished running: revitcoreconsole ======
[04/17/2019 10:11:22] Process exit code: 4
[04/17/2019 10:11:22] End Revit Core Engine standard output dump.
[04/17/2019 10:11:22] Error: Application revitcoreconsole.exe exits with code 4 which indicates an error.
[04/17/2019 10:11:22] End script phase.
[04/17/2019 10:11:22] Error: An unexpected error happened during phase CoreEngineExecution of job.
[04/17/2019 10:11:22] Job finished with result FailedExecution

私が使用しようとしているファイルの例は、次の場所にあります: https://www.dropbox.com/s/chffmh62wlmuwx7/empty.rvt?dl=0

Revit 2018 の設計自動化でこれを使用できるかどうか、誰かがテストできますか。

Workitem API についても少し混乱しています。ドキュメントには、3 レッグ認証を使用する必要があると記載されています。(リクエストに追加の署名が必要なため、これは非常に難しいようです(?)...)が、ステップバイステップガイドでは2本足で示されていますが、それ以外の場合は問題なく機能しています。これはおそらく私の困難の理由ではありません。

何か案は...?

4

1 に答える 1

2

コメントで提供されているリンクは、直接のダウンロード リンクではありません。リンクをクリックすると、次の Web ページに移動します。

https://www.dropbox.com/s/chffmh62wlmuwx7/empty.rvt?dl=0

ワークアイテムの入力引数には、ファイルを正しく処理できるようにするための直接ダウンロード リンクが必要です。たとえば、まったく同じファイルへの直接ダウンロード リンクは

https://dl.dropboxusercontent.com/s/chffmh62wlmuwx7/empty.rvt

于 2019-04-18T12:49:12.010 に答える