question

Jason Botha avatar image
0 Likes"
Jason Botha asked mohamed souliman commented

FlexScript Error Message (Flexsim 17.0.2)

Hi there,

Does anyone know why the following error message shows when starting Flexsim?

Thank you.

The text of the error message reads:

exception: FlexScript exception: MAIN:/project/exec/globals/nodefunctions/switchshaders exception: EditorSpatial::drawContent()

FlexSim 17.0.2
error messagegraphicsflexscript error
error-message.jpg (92.3 KiB)
· 8
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Ben Wilson avatar image
1 Like"
Ben Wilson answered Majedah A commented

Hi @Jason Botha,

I don't know about that particular error message. Perhaps someone else here will be able to jump in with some actual experience.

If no one knows for sure, these are the steps I would take to try to fix the problem:

  1. shaders and drawing are graphics related, so first I would try updating my graphics driver, as well as trying the other tips found in this graphics compatibility post.
  2. we've seen some errors come as a result of your Windows operating system not including all available Microsoft updates, so I would completely update the Windows installation, as well checking on the other items suggested in this post regarding startup/installation problems.
  3. several issues in older versions of FlexSim can be cleared up by manually downloading and installing the latest Visual C++ Redistributable for Visual Studio 2015. However, since you're using 17.0.2, this shouldn't be problem, but it's worth mentioning for others looking to clear up potential issues with their FlexSim installation.
  4. last year FlexSim was updated to use Microsoft's new API enhancements for Windows that correctly and securely load external libraries. In order for these API enhancements to work, you need to install a critical Windows security update (KB2533623). If your Windows is fully patched then this update should already be installed, but you can also download and install it manually from here: https://support.microsoft.com/en-us/kb/2533623. Once you install that update, FlexSim will correctly load and connect to module dlls. If not, perhaps a reboot is required.

Please respond back if any of the above clears up your errors. This will help anyone in the future that gets the same error.

Also, its quite useful to include the actual error text in the body of your question, so that it is easily searched. I will updated your question post with the text from your error messages.

· 6
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.