Tcl script calling for Selected elements/components

Luke Dykstra
Luke Dykstra Altair Community Member
edited May 7 in Community Q&A
Hello All,
 
I feel that this should be pretty simple but the HWC command window does not give any feedback so it is not possible to "copy to TCL" and add to my current script for Hyperview. 
 
I want to be able to apply any type of contour, transparency, etc to a set of selected elements. I have the cusotm ribbons created in hyperview but when I click the icons it applies that script to the entire window. I want to be apply to apply it to a set of selected elements that have been saved by RMB>Select>Save Selection or based on the current active elements selected.
 
Either process of selection is ok with me just looking to get that selection active and be able to apply the legend stress result or transparency view to just the selection.
 
Any feedback and help is greatly appreciated.
 
Thank you for reading and cosindering adding to the blog for myself and others.
Tagged:

Answers

  • hello @Luke Dykstra ,

    you can use a mark in hwc to access some elements. There are some options available now

    You can then apply the Contour on this mark:

    result scalar load type=Stress marked=true | mark clear

    Would that help?

    Best Regards,

    Michael