Hyperview Legend
This time it seems easier to me but never the less I could need some guidance.
I was able to plot contours to different models but am struggeling with the legend.
It does not get visible with :
myContour1 GetLegendHandle legend1
legend1 setDefaultState true
legend1 setVisibility true
Does anyone know an example file for the legend creation in hyperview? I have a displacement and a stress plot.
Thanks in advance.
Best regards,
Merula
Answers
-
Found it... in case anyone is iterested:
model GetResultCtrlHandle res
res GetContourCtrlHandle con
res SetCurrentSubcase 1
res SetCurrentSimulation 2
con SetDataType Stress
con SetDataComponent 'vonMises'
con SetDimensionEnabled shell true
con SetLayer 'Max'
con SetCornerDataEnabled false
con SetAverageMode Advanced
con SetEnableState true
con GetLegendHandle lhlh SetVisibility true
anim SetDisplayOptions contour true
anim SetDisplayOptions legend truethat was missing!
0