diff --git a/src/Mod/Arch/importIFCHelper.py b/src/Mod/Arch/importIFCHelper.py index fe504198b3..1a5cd1bcb4 100644 --- a/src/Mod/Arch/importIFCHelper.py +++ b/src/Mod/Arch/importIFCHelper.py @@ -27,6 +27,7 @@ import FreeCAD import Arch import ArchIFC +from draftutils.messages import _wrn # ************************************************************************************************ # ********** some helper, used in import and export, or should stay together @@ -568,7 +569,7 @@ def getPlacement(entity,scaling=1000): if loc: pl.move(loc) elif entity.is_a("IfcAxis2Placement2D"): - print("not implemented IfcAxis2Placement2D, ") + _wrn("not implemented IfcAxis2Placement2D, ", end="") elif entity.is_a("IfcLocalPlacement"): pl = getPlacement(entity.PlacementRelTo,1) # original placement relpl = getPlacement(entity.RelativePlacement,1) # relative transf