Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Ansys Products

Ansys Products

Discuss installation & licensing of our Ansys Teaching and Research products.

Error in meshing while importing saved designmodeler file or spaceclaim file

    • rahul_kv
      Subscriber

      I created geometry in design modeler and aved them in spaceclaim and design modeler file format but now when I import them in workbench in Geometry section their the geometry is shown but when I move to next step, i.e., for meshing it shows the error attached in image below. Howcan I get rid of this error.

        

    • Rajeshwari Jadhav
      Forum Moderator

      Hi Rahul,
      Ansys Workbench Mechanical and related applications produce JavaScript Runtime Error Type Mismatch on Windows 11 24H2 

      Q: Ansys Workbench Mechanical and related applications produce JavaScript Runtime Error Type Mismatch on Windows 11 24H2 
      Issue often occurs when importing geometry into a new analysis. Error may be similar to the following:

      Script Error 
      Line: 61871
      Char: 8
      Error: Type mismatch
      Code: 800a000d
      Source: JavaScript runtime error
      Script: g_UIHandler.TreeHandler.RemoveAndFillChildNodes(parentNode); 

       

      JavaScript runtime error screenshot

      welcome to the thunderdome

      A:  Windows 11 24H2 has begun setting a local policy that, by default, causes applications to use the JScript9Legacy.dll instead of JScript.dll. 

      Windows 11 24H2 was not available at the time of Ansys 2025R1 release testing and is not officially supported. 
      A future Ansys 2025R1 Service Pack 2 will address this issue without having to modify the Windows registry as stated here. 

      This issue can be resolved for all previous Ansys versions by changing the default registry key to load the classic jscript.dll instead of the JScript replacement DLL jscript9legacy.dll.  The end user should understand any potential risks this may cause. 

      Search the internet for “JScriptReplacement” or "JScript9Legacy.dll for further information. 


      To load jscript.dll by default:
       

      1. Launch regedit.
      2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Internet Explorer\Main 
        (Create the folder Keys for Internet Explorer and Main if they do not exist)
      3. Right-click the Main key and select New | DWORD (32-bit) Value.
      4. Name the new value JScriptReplacement.
      5. Set the value of JScriptReplacement to 0.
      6. Reboot the computer 
Viewing 1 reply thread
  • You must be logged in to reply to this topic.
[bingo_chatbox]