setSelectionFilter
Overview
This utility is used to set the selection filter in GUI based on the given filter type.
Syntax
simlab.setSelectionFilter("FilterType")
where
- FilterType = Vertex; to set vertex filter
- FilterType = Edge; to set edge filter
- FilterType = CircleEdge; to set circle filter
- FilterType = EdgePath; to set edge path filter
- FilterType = FreeEdgeLoop; to set free edge loop filter
- FilterType = EdgeLoop; to set edge loop filter
- FilterType = Face; to set face filter
- FilterType = CylinderFace; to set cylinder filter
- FilterType = FilletFace; to set fillet filter
- FilterType = Body; to set body filter
- FilterType = RBEBody; to set RBE body filter
- FilterType = Node; to set node filter
- FilterType = RBENode; to set RBE node filter
- FilterType = ElementEdge; to set element edge filter
- FilterType = BarElement; to set bar filter
- FilterType = Element; to set shell elementfilter
- FilterType = SolidElement; to set solid element filter
- FilterType = Load; to set loads filter
- FilterType = RBE; to set RBE filter
- FilterType = Coordinate; to set coordinates filter
- FilterType = RBar; to set RBAR filter
Use Case
To set the selection filter for the line edit for the custom dialogs which is created using python scripts.
Utility Input/output
Note: Sample Script