[ Bug? ] Std_TreeSelectAllInstances: How does this work?

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

[ Bug? ] Std_TreeSelectAllInstances: How does this work?

Post by Roy_043 »

AFAICT the Std_TreeSelectAllInstances command does not work. Looking at the code suggests that it should filter document objects that rely on the same ViewProvider (maybe it should check the class?). So you would expect it to be able to select all Draft_Wire objects for example, but it does not.

The command can be found in the Tree view context menu: Select all instances.

https://github.com/FreeCAD/FreeCAD/blob ... .cpp#L3012
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: [ Bug? ] Std_TreeSelectAllInstances: How does this work?

Post by Roy_043 »

Bump. Nobody knows?
Post Reply