Skip to content

Commit 07c1101

Browse files
add streamline changes do my bimtester 8
1 parent 2532a66 commit 07c1101

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

src/ifcbimtester/bimtester/features/zoom_smart_view.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,20 +56,12 @@ def add_smartview(sm_file, smartview_name, guids):
5656

5757
# build the smartview string
5858
smview_string = " <SMARTVIEW>\n"
59-
smview_string += (
60-
" <TITLE>GUID filter, {}</TITLE>\n"
61-
.format(smartview_name)
62-
)
59+
smview_string += " <TITLE>GUID filter, {}</TITLE>\n".format(smartview_name)
6360
smview_string += "{}".format(each_smartview_string_before1)
6461
smview_string += str(uuid.uuid4()) # create and add a smart view guid
6562
smview_string += "{}\n".format(each_smartview_string_before2)
6663
for guid in guids:
67-
smview_string += (
68-
"{}{}{}\n".format(
69-
rule_string_before,
70-
guid,
71-
rule_string_after)
72-
)
64+
smview_string += "{}{}{}\n".format(rule_string_before, guid, rule_string_after)
7365
smview_string += "{}\n".format(each_smartview_string_after)
7466

7567
# insert smartview string into file

0 commit comments

Comments
 (0)