Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Arch: use IfcType undefined for building parts, is annotation or actu…
…ator ATM
  • Loading branch information
berndhahnebach committed Sep 14, 2019
1 parent 32153e6 commit d563d90
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Mod/Arch/ArchBuildingPart.py
Expand Up @@ -208,7 +208,10 @@ def makeBuildingPart(objectslist=None,baseobj=None,name="BuildingPart"):
#obj = FreeCAD.ActiveDocument.addObject("App::FeaturePython","BuildingPart")
obj.Label = translate("Arch","BuildingPart")
BuildingPart(obj)
#obj.IfcType = "Building Storey" # set default to Floor
# if no IfcType is set it will be the first in the available
# Annotation in IFC2x3 and Actuator in IFC4, both is certainly wrong
# use Undefined ATM
obj.IfcType = "Undefined"
if FreeCAD.GuiUp:
ViewProviderBuildingPart(obj.ViewObject)
if objectslist:
Expand Down

0 comments on commit d563d90

Please sign in to comment.