Hypermesh Python API: Get Multiple Entities

Kristian Garner
Kristian Garner Altair Community Member
edited May 7 in Community Q&A

Hi. Just wondering if there is a Python API (i.e. method) to get multiple entities?  The "get" class method (for the Session object) can get a single entity, but what I want to do is get multiple entities (CurveXY entities in my case), put them in a Python list (say), do some maths on them, and then write out either multiple or single curves.

If this not available in 2023.1, is there a plan to implement this in a future version?

Thanks,

Kristian

Answers

  • Michal Stefuca_21473
    Michal Stefuca_21473
    Altair Employee
    edited May 7

    Hi Kristian,

    At the moment, we do no support a collection mechanism for HyperGraph entities, but it is part of our roadmap. We are planning to start the work on it when the currently running HyperGraph Python API projects are closed.

    Thanks,

    Michal Stefuca
    Automation & Customization