mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 06:39:13 +00:00
Fix error switching to custom title block #6685
This commit is contained in:
@@ -532,7 +532,7 @@ class SheetBuilder:
|
|||||||
ET.register_namespace("", "http://www.w3.org/2000/svg")
|
ET.register_namespace("", "http://www.w3.org/2000/svg")
|
||||||
ET.register_namespace("xlink", "http://www.w3.org/1999/xlink")
|
ET.register_namespace("xlink", "http://www.w3.org/1999/xlink")
|
||||||
|
|
||||||
view_root = ET.parse(ootb_titleblock_path).getroot()
|
view_root = ET.parse(titleblock_path).getroot()
|
||||||
view_width = self.convert_to_mm(view_root.attrib["width"])
|
view_width = self.convert_to_mm(view_root.attrib["width"])
|
||||||
view_height = self.convert_to_mm(view_root.attrib["height"])
|
view_height = self.convert_to_mm(view_root.attrib["height"])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user