[bug] Could not select windows from wall into treeview if wall is in a part

Problem tested with Freecad v 19.3 and last weekly build, under window 10.

Step to reproduce :
With arch workbench :

  1. Create a part


  2. Create line


  3. Create wall from line


  4. Insert a windows. You’ll get this first error message
    14:34:20 Part::FeaturePython / Window: Links go out of the allowed scope


  5. Try to select the windows from treeview, you’ll get the following error message :
    14:34:23 0 Selection.cpp(1666): Sub-object Sans_nom#Part.Wall.Window. not found

You can download an exemple file here : https://ftp.jipem.net/freecad/windows_error.FCStd

I confirm the printed errors.

Anyway, even with errors, I can IE select and move the window over the wall, so I don’t know if it’s only a warning or what.

OS: Ubuntu 20.04.3 LTS (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.
Build type: Release
Branch: unknown
Hash: 88004e8dc91c0430bd31b3eba0efb1c038b0b3c5
Python version: 3.8.10
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.2
Locale: Italian/Italy (it_IT)

wepz.png

Why di you start with a Std::Part? This Is not the intended workflow.

Simply because it’s possible :smiley:
Honestly i’m not used to freecad Arch workbench, much more used to Part & Part Design for exemple. Where it’s better to use parts to avoid big mess in bigger projects (at least my way of going, maybe not the best).

And I’m not blaming you for doing so :slight_smile:
But Std::Part establish a different coordinates system, while Arch should just use one global coordinate system. You’d better use Arch_BuildingPart to organize your project. Just do not expect it to behave exactly like a Std::Part :wink:

Thank you for the tip.
Anyway I’ll spend more time on tutos & documentation & experiments as I have two Arch project to lead in following months.