mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 18:21:59 +00:00
black .
This commit is contained in:
@@ -400,7 +400,11 @@ class SheetBuilder:
|
|||||||
|
|
||||||
# If a perspective drawing, don't add scale to view title
|
# If a perspective drawing, don't add scale to view title
|
||||||
try:
|
try:
|
||||||
is_perspective = drawing.Representation.Representations[0].Items[0].TreeRootExpression.FirstOperand.is_a("IfcRectangularPyramid")
|
is_perspective = (
|
||||||
|
drawing.Representation.Representations[0]
|
||||||
|
.Items[0]
|
||||||
|
.TreeRootExpression.FirstOperand.is_a("IfcRectangularPyramid")
|
||||||
|
)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
is_perspective = False
|
is_perspective = False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user