View Issue Details

IDProjectCategoryView StatusLast Update
0003650ArchBugpublic2021-05-22 15:05
Reportervanuan Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSUbuntuOS Version18.04
Product Version0.18 
Target Version0.20 
Summary0003650: Can't add building to site
DescriptionCan't add building to site object. Or can't create a building object.
Steps To ReproduceSelect wall, press Floor button ("creates a builing part...").
Select Floor, press Building button ("creates a building object...").
Select building, press Site button ("creates a site object...")

And error appears:

Please either select only Building objects or nothing at all!
Site is not allowed to accept any other object besides Building.
Other objects will be removed from the selection.
Note: You can change that in the preferences.

Additional InformationOS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14995 (Git)
Build type: Release
Branch: master
Hash: 7b866816785ac1ca9787b63d4bff12873bb3a593
Python version: 2.7.15rc1
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
TagsNo tags attached.
FreeCAD Information

Activities

vanuan

2018-10-24 21:44

reporter   ~0012089

Apparently there's no such type "Building":

>>> sel = FreeCADGui.Selection.getSelection()
>>> sel[0]
<App::GeometryPython object>
>>> obj = sel[0]
>>> Draft.getType(obj)
'BuildingPart'

So building has a type of BuildingPart for some reason.

vanuan

2018-10-24 23:55

reporter   ~0012090

Here's a forum link: https://forum.freecadweb.org/viewtopic.php?f=23&t=31804

matthijskooijman

2021-05-22 15:05

reporter   ~0015674

This bug has been fixed in https://github.com/FreeCAD/FreeCAD/commit/8ffd8c2901a190f2368fe9490cf8179c430ebf19 directly after it was reported. I just confirmed it works as expected in a recent master version.

Can someone close this? Seems I don't have permission for that.

Issue History

Date Modified Username Field Change
2018-10-24 19:52 vanuan New Issue
2018-10-24 21:44 vanuan Note Added: 0012089
2018-10-24 23:55 vanuan Note Added: 0012090
2021-02-06 06:28 abdullah Target Version => 0.20
2021-05-22 15:05 matthijskooijman Note Added: 0015674