🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Display load Collector ID's

User: "karth"
Altair Community Member
Updated by karth

In HM model, how to display the load collectors' IDs besides the node.?

This is needed in order to determine the load applied at each nodes.

<?xml version="1.0" encoding="UTF-8"?>loadcol.png

Find more posts tagged with

Sort by:
1 - 4 of 41
    User: "PrasannaK"
    Altair Employee
    Updated by PrasannaK

    Hi Karth,

    By clicking the following image you will be able to display ids:

    image.png

     

    Steps:

    1. Click on image.png

    2. Click on 'loads'

    <?xml version="1.0" encoding="UTF-8"?>image.png

    3. Check the 'display' button

    <?xml version="1.0" encoding="UTF-8"?>image.png

    4. Click on 'loads' and select 'by collector'

    <?xml version="1.0" encoding="UTF-8"?>image.png

    By this you should be able to view load collector id.

    Thank you.

    <?xml version="1.0" encoding="UTF-8"?>image.png

    User: "karth"
    Altair Community Member
    OP
    Updated by karth

    Prasanna,

    Thanks for that option.

    However, pl fid attached image. The ID getting displayed is different from the one in the model tree.

    <?xml version="1.0" encoding="UTF-8"?>Difference in ID.JPG

    User: "Mario_21478"
    Altair Community Member
    Updated by Mario_21478

    Hi,

     

    It is of course the ID of the load, not the ID of the load collector...

    I don't know a direct way to show this.

     

     

    Best Regards,

    Mario

     

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Yes we can see that panel 'numbers' does not support displaying collector ids.

     

    A workaround is to use a title (we are lucky because a title can be attached to a load)

    <?xml version="1.0" encoding="UTF-8"?>20191210_084659.thumb.jpg.82b49e8ea5c91a8dd29c9cc1c071d36d.jpg

     

    A sample script is like below

     

    *createmarkpanel loads 1 'Select loads to show IDs:'

    foreach lid [hm_getmark loads 1] {

         set cid [hm_getvalue loads id=$lid dataname=collector.id]

         set tid load_$lid

         *createmark titles 1 $tid

         if {[hm_marklength titles 1]} {*deletemark titles 1}

         lassign [hm_getvalue loads id=$lid dataname=baselocation] x y z

         lassign [hm_viewproject $x $y $z] X Y Z

         lassign [hm_getgraphicsarea] gx gy gw gh

         *titlecreate $tid loads $lid 0 2 1 0 [expr $X/$gw] [expr $Y/$gh]

         *titlemodify $tid borderon '' 0 0

         *titlemodify $tid titletext $cid 0 1

    }