LOADCOLLECTORS assigned to LOADSTEP

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

How can I get them?

documentation suggest following

set collectorList [hm_getentityvalue loadsteps 1 pointer.loadcollector.id 0]

I have no idea what the pointer should be (?)

I do also suspect that it will never give me right answer as there is more than just once loadcollector ID in my loadstep.

Any ideas how it can be done?

Cheers

Swav.

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2011

    Swav,

    use 'getentityarray' instead of '[hm_getentityvalue'. this will return a list of the Ids of the loads in the loadstep. In the code shown, there is a loadstep named 'weigth'.

    hm_getentityarray loadsteps 'weigth' loadcollectors 0 -byname
  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited April 2011

    Sorted

    Thanks very much for your help

    Ave Cesar

    Swav