mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-16 21:42:19 +00:00
Fix error due to typo
This commit is contained in:
@@ -63,7 +63,7 @@ class Usecase:
|
|||||||
def get_styled_representation(self, definition_representation):
|
def get_styled_representation(self, definition_representation):
|
||||||
representations = [
|
representations = [
|
||||||
r
|
r
|
||||||
for r in definition_representation.Representations is r.is_a("IfcStyledRepresentation")
|
for r in definition_representation.Representations if r.is_a("IfcStyledRepresentation")
|
||||||
and r.ContextOfItems == self.settings["context"]
|
and r.ContextOfItems == self.settings["context"]
|
||||||
]
|
]
|
||||||
if representations:
|
if representations:
|
||||||
|
|||||||
Reference in New Issue
Block a user