mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 11:06:51 +00:00
Fix sheeter issue after 7440c321b
This commit is contained in:
@@ -338,7 +338,7 @@ class SheetBuilder:
|
|||||||
|
|
||||||
# add .prefix class to all css selectors
|
# add .prefix class to all css selectors
|
||||||
style = svg.find(f"{SVG}defs/{SVG}style")
|
style = svg.find(f"{SVG}defs/{SVG}style")
|
||||||
assert style
|
assert style is not None
|
||||||
style_data = style.text
|
style_data = style.text
|
||||||
assert style_data is not None
|
assert style_data is not None
|
||||||
text = ""
|
text = ""
|
||||||
@@ -419,7 +419,7 @@ class SheetBuilder:
|
|||||||
view.append(svg)
|
view.append(svg)
|
||||||
|
|
||||||
if view_title is not None:
|
if view_title is not None:
|
||||||
assert foreground
|
assert foreground is not None
|
||||||
foreground_path = self.get_href(foreground)
|
foreground_path = self.get_href(foreground)
|
||||||
data = reference.get_info()
|
data = reference.get_info()
|
||||||
data.update({"Sheet" + k: v for k, v in sheet.get_info().items()})
|
data.update({"Sheet" + k: v for k, v in sheet.get_info().items()})
|
||||||
|
|||||||
Reference in New Issue
Block a user