question

Robin Brunner avatar image
1 Like"
Robin Brunner asked Sam Stubbs converted comment to answer

Custom States don't work, Custom State Profile doesn't get recognized

Hello Community,

I tried to add some Custom States to my Model. I did it exactly the way @Sam Stubbs explained in the question "Add custom state to a state gantt chart". But it doesn't work. The Dashbord tools don't recognize the Custom State Profile neither my Objects are setting their states like I coded them. Saved and reopened the model, nothing happened. Somebody can help? Maybe there was a new Tree Structure change in the updates?

Regards Robin

FlexSim 17.0.2
statecustomprofile
· 4
5 |100000

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

Matt Long avatar image Matt Long commented ·

@Robin Brunner

If you can upload your model we can more easily debug what's going on and where the issue is.

2 Likes 2 ·
Sam Stubbs avatar image Sam Stubbs ♦ commented ·

There shouldn't be any differences in the tree. It should still work from the older versions till now. Are you sure your model's code is actually setting the state correctly? I would try setting basic non-custom states first, just to see if the code you have is firing the way you expect it to. Then move over to the custom state profiles.

1 Like 1 ·
Robin Brunner avatar image Robin Brunner Sam Stubbs ♦ commented ·

Well. Okay sorry. I don't know what happened before. Everything is working now. State Changes and correct State Pie Dashboard output. Excuse me.

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ Robin Brunner commented ·

Oh good. I'm glad you got it to work. No need to apologize.

0 Likes 0 ·

1 Answer

Robin Brunner avatar image
1 Like"
Robin Brunner answered

Sorry. Uploading my model is a little bit complicated, because my company forbit to publicate my work and their 3D Datas in the model. But everything is fine now. @Sam Stubbs tutorial from "Add custom state to a state gantt chart" is still working!

Thanks anyway :).

5 |100000

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