diff --git a/src/Mod/Draft/draftfunctions/svg.py b/src/Mod/Draft/draftfunctions/svg.py index a3e5aea251..0d74c95f56 100644 --- a/src/Mod/Draft/draftfunctions/svg.py +++ b/src/Mod/Draft/draftfunctions/svg.py @@ -428,7 +428,7 @@ def get_svg(obj, # all the SVG strings from the contents of the group if hasattr(obj, "isDerivedFrom"): if (obj.isDerivedFrom("App::DocumentObjectGroup") - or utils.get_type(obj) == "Layer"): + or utils.get_type(obj) in ["Layer","BuildingPart"]): svg = "" for child in obj.Group: svg += get_svg(child,