Automatic Screenshots Generation

Ahmed Hadi_20285
Ahmed Hadi_20285 Altair Community Member
edited February 26 in Community Q&A

Dear EDEM community,

Is there a way (e.g. using EDEMpy) to "automatically" take screenshots of EDEM simulations without the need to open the simulation?

Best,
Ahmed

Tagged:

Best Answer

  • jerrinjobs
    jerrinjobs
    Altair Employee
    edited February 23 Answer ✓

    Hi Ahmed

    You can use the Image Generation tool in the Simulator to create images during the simulation running.

    image

    Hope this helps.

     

    Thanks,
    Jerrin Job

Answers

  • jerrinjobs
    jerrinjobs
    Altair Employee
    edited February 23 Answer ✓

    Hi Ahmed

    You can use the Image Generation tool in the Simulator to create images during the simulation running.

    image

    Hope this helps.

     

    Thanks,
    Jerrin Job

  • Ahmed Hadi_20285
    Ahmed Hadi_20285 Altair Community Member
    edited February 23

    Many thanks, Jerrin! 
    I was unaware of this feature as I am using EDEM version 2022.3 and this image generation has been added to the latest version (i.e. 2023.1).

  • Ahmed Hadi_20285
    Ahmed Hadi_20285 Altair Community Member
    edited February 23

    An issue here; This feature takes screenshots from Simulator windows but I want it to take screenshots from Analyst tab (since I want to colo. Is there a way to do that?

  • Renan
    Renan
    Altair Employee
    edited February 23

    An issue here; This feature takes screenshots from Simulator windows but I want it to take screenshots from Analyst tab (since I want to colo. Is there a way to do that?

    Hi Ahmed,

    What is your application? If you have the Analyst opened then you can use the built-in tools to export images from your simulation

    image

    You can also record videos of your simulation with the Recording tool. You can learn more about this tool in the EDEM eLearning course (https://learn.altair.com/course/view.php?id=147) lessons 17.2 and 17.3

    Best regards,
    Renan

  • Ahmed Hadi_20285
    Ahmed Hadi_20285 Altair Community Member
    edited February 23

    Hi Ahmed,

    What is your application? If you have the Analyst opened then you can use the built-in tools to export images from your simulation

    image

    You can also record videos of your simulation with the Recording tool. You can learn more about this tool in the EDEM eLearning course (https://learn.altair.com/course/view.php?id=147) lessons 17.2 and 17.3

    Best regards,
    Renan

    Dear Renan,

    Thanks for your reply.

    Indeed I am familiar with the manual method that you mentioned to take the screenshot. However, I want to do this automatically without the need to open EDEM. I want to do this automatically since this is part of my calibration strategy and if I want to do this manually it is very time-consuming. Also. it prevents the automated calibration process.

    With the new feature, i.e. it becomes possible to automatically take screenshots, but it captures the scenes from the "Simulator" view, while I want the screenshot from the "Analyst" tab (since I need to assign different colours to particles).

    Best,
    Ahmed

  • Stefan Pantaleev_21979
    Stefan Pantaleev_21979
    Altair Employee
    edited February 26

    Dear Renan,

    Thanks for your reply.

    Indeed I am familiar with the manual method that you mentioned to take the screenshot. However, I want to do this automatically without the need to open EDEM. I want to do this automatically since this is part of my calibration strategy and if I want to do this manually it is very time-consuming. Also. it prevents the automated calibration process.

    With the new feature, i.e. it becomes possible to automatically take screenshots, but it captures the scenes from the "Simulator" view, while I want the screenshot from the "Analyst" tab (since I need to assign different colours to particles).

    Best,
    Ahmed

    Hi Ahmed,

    Unfortunatelly it is not yet possible to export Analyst scenes but this feature is in the roadmap.

    For now the only way to automatically generates images from command line would be via EDEMpy.

    Best regards,

    Stefan