question

Enrique Elizaga avatar image
0 Likes"
Enrique Elizaga asked Ben Wilson commented

Is there a way to get rid of background error?

I am using the layout background. I get the following error:

Can I do something about it?

FlexSim 18.2.3
error messagemodel background
layout-error.jpg (213.8 KiB)
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

·
Patrick Zweekhorst avatar image
2 Likes"
Patrick Zweekhorst answered Ben Wilson commented

Hi @Enrique Elizaga,

It looks like your stats node is not correct. FlexSim assumes that from 18. something I think that the state node is a tracked variable with the categorical type. I thought there was a bug that in some situations object did not have this type. It looks like that is still the case in your situation.

One thing you can do is go into the tree and remove the stats node from the modelBackGround node. Or you could change the type of the current_state trackedVariable node by using the following line of code:

TrackedVariable.init( Model.find("FlexsimModelBackground").find(">stats/state_current"), STAT_TYPE_CATEGORICAL, 0, STAT_USE_PROFILE );

· 1
5 |100000

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

christian.n avatar image christian.n commented ·

I had problems with this as well. The situation seems to occur whenever you drag a background to a new location.

To replicate:

  1. Add a DWG background,
  2. Click 'Properties'
  3. Remove 'No Select'
  4. Drag the background a little bit in any direction

I know this doesn't solve the problem, but it may help development out with finding the bug.

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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