Jump to content
karth

Display load Collector ID's

Recommended Posts

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.

loadcol.png

Share this post


Link to post
Share on other sites

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"

image.png

3. Check the "display" button

image.png

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

image.png

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

Thank you.

image.png

Share this post


Link to post
Share on other sites

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)

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

}

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...