Jump to content
Sign in to follow this  
Shi Feng

legend and concontingency cloud map about hyperview

Recommended Posts

Hello, I have some questions that I hope you can help me to solve.          

 I want to automatically generate reports in the hyperview by coding. What I'm talking about is a model made up of several components.  

I don't know how to retrieve the component id that I want to hide, like the component called rbe2 , among all components.      

First of all, I want to hide the component named "rbe2", write the code as follows,

   

   myres     SetCurrentSubcase  caseid
   myres     GetContourCtrlHandle cont

   cont        SetDataType Displacement
   cont        SetEnableState true
   cont        GetLegendHandle cont_dis
   cont_dis SetVisibility True
   mypost   SetDisplayOptions contour true
   mypost   SetDisplayOptions legend true
   mypost   Draw;

 

image.thumb.png.2c475eba830b5409ffdbe400e63a18a9.png

 

But in legend ,I don't want the deformation value of the elements in the "rbe2" component that has been hidden. But it didn't work.         

Secondly, I don't know how to code for how to edit the legend of the contingency cloud map.  Can you give some examples. 

I hope to achieve the goal of legend as shown in the figure below.

 

image.thumb.png.ca0fc713ab32bd6ef36154673a30e415.png       

Thank you very much.

Edited by Shi Feng

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.

Sign in to follow this  

×
×
  • Create New...