exception: FlexScript exception: VIEW:/nodefunctions/workspace/openworkspace

exception: FlexScript exception: VIEW:/nodefunctions/workspace/openworkspace

tejas_g
Not applicable
939 Views
7 Replies
Message 1 of 8

exception: FlexScript exception: VIEW:/nodefunctions/workspace/openworkspace

tejas_g
Not applicable

[ FlexSim 19.1.2 ]

I am using Flexsim 19.1.0 ,

whenever I am opening my open I am getting this exception message :

"exception: FlexScript exception: VIEW:/nodefunctions/workspace/openworkspace"



And my model gets hang when I try to do "Open Default workplace", then I have to manually force close the model.


How to solve this issue?


0 Likes
Accepted solutions (1)
940 Views
7 Replies
Replies (7)
Message 2 of 8

tanner_p
Not applicable

@TEJAS G,

Do you get this exception any time you open FlexSim or only for a particular model? If it's a particular model, perhaps you could upload it so we can look at it?

Additionally, others have had similar errors in the past. You might want to review the answer from this post and try some of the potential solutions for ridding the model of the error.

0 Likes
Message 3 of 8

m_rosadini
Advocate
Advocate

@tanner.p We are experiencing the same issue in two models at this time. We get this error and if you try Open defaut Workspace it will crash.

I can share the models via private

0 Likes
Message 4 of 8

tanner_p
Not applicable

@marcello.rosadini,

I will email you and you can reply with the models so I can look at them. This may be beyond my understanding, but I'll give it a shot!

0 Likes
Message 5 of 8

tanner_p
Not applicable
Accepted solution

We fixed Marcello's model through email.

To solve this issue:

1) Run the code provided below in a Script window:

treenode activeViews = node("VIEW:/active");
treenode backPanel = node("VIEW:/active/MainPanel/BackPanel");
while (content(activeViews) > 1)  {
  destroyobject(last(activeViews));
}
clearcontents(backPanel);

2) Select View -> Open Default Workspace

This should fix the model and prevent it from crashing.

Message 6 of 8

aldo_c3
Not applicable

where is the script window in flexim?

0 Likes
Message 7 of 8

jason_lightfoot_adsk
Autodesk
Autodesk

You can click on this button to open it: 36767-1613176609115.png

or open it from the Debug menu:

36760-1613176653590.png

0 Likes
Message 8 of 8

Ben_WilsonADSK
Community Manager
Community Manager

The the Script Console does require a license. See the article FlexSim Feature Limitations by License Type.

0 Likes