Forge Revit Design Automation - Bug?

Forge Revit Design Automation - Bug?

jrlatta
Participant Participant
455 Views
1 Reply
Message 1 of 2

Forge Revit Design Automation - Bug?

jrlatta
Participant
Participant

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",

 

0 Likes
456 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

Yes, I'm afraid this is not the appropriate place to raise or discuss Forge related issues.

 

For help, please use the Forge tags in StackOverflow:

 

https://forge.autodesk.com/en/support/get-help

 

I'm checking with my colleagues to see whether there is some other better place to report such a problem.

 

Update: my colleagues replied,  They can report an error through forge.help@autodesk.com

  
Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes