Search code examples
anylogic

Is there a way to show Source Blocks output value in a Bar Chart?


I am trying to create a Bar Chart that will contain of Source Block Output. I was using the function Source.Size() but realized I need to call the output.

Do anybody have expertise on this?

enter image description here


Solution

  • Sure, use sourcePallets.count(): enter image description here

    You can always see all possible methods by using code-complete (Ctrl+Space on Windows).

    Also, the help lists all useful methods for you for all blocks, check it out: enter image description here