Forge Revit Design Automation - Bug?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi I'm not sure if this is the right place to post this (I've contacted support but haven't heard back) but I believe I have discovered a bug introduced recently to the Autodesk Forge Revit Design Automation engine that causes computations to run insanely slow.
If you don't specify the language for your Forge activity as "ENU" or whatever language (the docs and logs say the default language is ENU), then your design automation computations will take a very long time to run. For weeks, I have been consistently running a computation that was taking 20sec that suddenly started taking 10+ min yesterday and I started digging into logs and saw random Chinese characters in the log file that I'd never seen before.
Now that I changed my activity to run with language ENU, I don't see the Chinese characters in my log file and it takes 20 sec again:
"commandLine": [ f"$(engine.path)\\\\revitcoreconsole.exe /i \"$(args[rvtFile].path)\" /al \"$(appbundles[{app_name}].path)\" \\l ENU" ]
Slow job logs with Chinese characters:
[06/17/2021 14:29:57] Initializing RevitCoreEngine (and possibly running stub installer)...
[06/17/2021 14:29:57] Language not specified, using English-United States(ENU) as default.
[06/17/2021 14:30:45] Initialize and get RCE: (VersionBuild) 21.1.30.74 (VersionNumber) 2021 (SubVersionNumber) 2021.2
[06/17/2021 14:33:16] 慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥48
[06/17/2021 14:35:46] 慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥[SBXMSG] The process 308 ended.
[06/17/2021 14:35:51] 慈摮桳歡慦汩摥[SBXMSG] A new process started C:\Program Files\Autodesk\Autodesk AdSSO\AdSSO.exe (3052)
[06/17/2021 14:37:57] 慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥慈摮桳歡慦汩摥[SBXMSG] The process 5960 ended.
[06/17/2021 14:37:58] Finished running. Process will return: Success
[06/17/2021 14:37:58] ====== Revit finished running: revitcoreconsole ======
[06/17/2021 14:37:59] End Revit Core Engine standard output dump.
[06/17/2021 14:37:59] End script phase.
[06/17/2021 14:37:59] Start upload phase.
[06/17/2021 14:37:59] Uploading 'T:\Aces\Jobs\EditedOut': verb - 'PUT', url - 'Edited Out'
[06/17/2021 14:37:59] End upload phase successfully.
[06/17/2021 14:37:59] Job finished with result Succeeded
[06/17/2021 14:37:59] Job Status:
{
"status": "success",
Fast job logs with no Chinese characters:
[06/17/2021 20:53:22] Initializing RevitCoreEngine...
[06/17/2021 20:53:22] Selected Revit\RCE install Path: (from app.config) C:\Revit2019
[06/17/2021 20:53:22] Resolving location of Revit/RevitCoreEngine installation...
[06/17/2021 20:53:22] Running user application....
[06/17/2021 20:53:28] Found an addIn for registration: EditedOut.addin
[06/17/2021 20:53:28] Initializing RCE....
[06/17/2021 20:53:28] Initializing RevitCoreEngine (and possibly running stub installer)...
[06/17/2021 20:53:28] Language not specified, using English-United States(ENU) as default.
[06/17/2021 20:53:32] Initialize and get RCE: (VersionBuild) 19.0.0.0 (VersionNumber) 2019 (SubVersionNumber) 2019.2
[06/17/2021 20:53:37] 48
[06/17/2021 20:53:40] Finished running. Process will return: Success
[06/17/2021 20:53:40] ====== Revit finished running: revitcoreconsole ======
[06/17/2021 20:53:41] End Revit Core Engine standard output dump.
[06/17/2021 20:53:41] End script phase.
[06/17/2021 20:53:41] Start upload phase.
[06/17/2021 20:53:41] Uploading 'EditedOut': verb - 'PUT', url - 'EditedOut'
[06/17/2021 20:53:41] End upload phase successfully.
[06/17/2021 20:53:41] Job finished with result Succeeded
[06/17/2021 20:53:41] Job Status:
{
"status": "success",