View Issue Details

IDProjectCategoryView StatusLast Update
0003017FEMFeaturepublic2017-06-24 07:08
ReporterHoWil Assigned Toberndhahnebach  
Status closedResolutionfixed 
Product Version0.17 
Fixed in Version0.17 
Summary0003017: highlighting of selected elements in FEM-wb
DescriptionIt would be extremely helpfull if elements like faces of solids selected for meshing (e.g. face selection in mesh-region) or constraint-assignment be highlighted when re-selecting them in the appropriate Task menu.
The behavior is similar to the selection of elements int Tree-view. When selecting a Part-box in tree-view, the box is highlighted in 3D-view.

For mesh-regions and mesh-groups is it otherwise not possible to see which elements were selected/added in Task-view.
Constraints do get at least symbols in 3D but it is not directly possible to figure out which element listed in task-view is which element in 3D.

For non-covered elements in 3d is a workaround to hover the mouse over the elements to see their names in the status line but this is not working for inner selections.

The behavior should be like in the attached screenshots. After selecting a element like 'Face2' in Task view it is highlighted in 3D.

See also the related discussion in the forum:
Additional InformationRelated macro is:
TagsNo tags attached.
FreeCAD Information



2017-05-01 12:06

administrator   ~0008838

@HoWil please re-add both screenshots, thx!


2017-06-14 08:46

developer   ~0009361

Re-added (new) screenshots of selected Face2 without and with highlighting of the selected element.


2017-06-14 09:03

developer   ~0009362

CfdFoam-wb already has this feature implemented see....


2017-06-14 12:28

administrator   ~0009363

@HoWil do you mind specifying where in the source code the feature is located? thanks!


2017-06-16 04:40

developer   ~0009401

may be helpful ...


2017-06-16 04:42

developer   ~0009402

What exactly would be best? My idea:

- if the constraint is opened mark all referece shapes of the conxtraint by a color
- if a reference shape is selected in the task panel it is marked by another color


2017-06-16 04:44

developer   ~0009403

As a hint, if the status line is activated and the mouse is moved over the shapes in the main window the shape names are printed in the status line. This helps to indicate which shape should be removed if one would like to remove a specific shape.



2017-06-16 04:45

developer   ~0009404

Last edited: 2017-06-16 04:45

@HoWil do you mind specifying where in the source code the feature is located? thanks!


+1 I'm curious


2017-06-21 16:02

developer   ~0009485

Last edited: 2017-06-21 16:03

From my point of view the Constryaint Fixed has something in this regard already. If a edge or face in task panel in Constraint Fixed reference shapes is selected the shape is selected in the Main window with the model.

Is this what you would like to see in all conatraints HoWil?


2017-06-23 19:50

developer   ~0009492

Last edited: 2017-06-23 20:05

I would like to add an screencast of how it works in CFDFoam but it looks like I am not allowed to upload .webm or .zip.

Is there a reason why the two last pics from my where deleted?

EDIT: I like both, the colors for the groups and the highlighting for the selected item in the task view.
The selection via list is a long therm must have when you think of inner boundaries and models with hundrets of boundaries.


2017-06-23 20:16

developer   ~0009493

@Kunda: I think this is the file used to create the 'advanced' boundary selection menu. 'faceHighlightChange' is used to highlight the selected items in the task view.


2017-06-23 21:33

developer   ~0009496

but it needs some more love ...


2017-06-23 23:36

developer   ~0009497

this should do the trick:

but it needs a bugfix too:

both are in


2017-06-23 23:43

developer   ~0009498


2017-06-23 23:43

developer   ~0009499

I'm gone add the other Python Constraints once this is in master and has been proved to work for a few days.


2017-06-24 06:59

developer   ~0009501

I did test it with your femdev branch.

It's exactly what I requested!
I will close this request and open an separate one for the list selection.



2017-06-24 07:08

developer   ~0009502

tested it in femdeb branch of bhb. Faces are highlighted after selecting them in Task view.

Issue History

Date Modified Username Field Change
2017-05-01 12:03 Kunda1 New Issue
2017-05-01 12:03 Kunda1 Status new => assigned
2017-05-01 12:03 Kunda1 Assigned To => berndhahnebach
2017-05-01 12:05 Kunda1 Reporter Kunda1 => HoWil
2017-05-01 12:06 Kunda1 Note Added: 0008838
2017-06-14 08:46 HoWil File Added: Screenshot from 2017-06-14 10-44-24.png
2017-06-14 08:46 HoWil File Added: Screenshot from 2017-06-14 10-44-11.png
2017-06-14 08:46 HoWil Note Added: 0009361
2017-06-14 09:03 HoWil Note Added: 0009362
2017-06-14 12:28 Kunda1 Note Added: 0009363
2017-06-16 04:40 berndhahnebach Note Added: 0009401
2017-06-16 04:42 berndhahnebach Note Added: 0009402
2017-06-16 04:44 berndhahnebach Note Added: 0009403
2017-06-16 04:45 berndhahnebach Note Added: 0009404
2017-06-16 04:45 berndhahnebach Note Edited: 0009404
2017-06-21 16:02 berndhahnebach Note Added: 0009485
2017-06-21 16:03 berndhahnebach Note Edited: 0009485
2017-06-21 19:15 Kunda1 Status assigned => feedback
2017-06-23 19:50 HoWil Note Added: 0009492
2017-06-23 19:50 HoWil Status feedback => assigned
2017-06-23 20:05 HoWil Note Edited: 0009492
2017-06-23 20:16 HoWil Note Added: 0009493
2017-06-23 21:33 berndhahnebach Note Added: 0009496
2017-06-23 23:36 berndhahnebach Note Added: 0009497
2017-06-23 23:43 berndhahnebach Note Added: 0009498
2017-06-23 23:43 berndhahnebach Note Added: 0009499
2017-06-24 06:59 HoWil Note Added: 0009501
2017-06-24 07:08 HoWil Status assigned => closed
2017-06-24 07:08 HoWil Resolution open => fixed
2017-06-24 07:08 HoWil Fixed in Version => 0.17
2017-06-24 07:08 HoWil Note Added: 0009502