Skip to content

Commit ec30537

Browse files
authored
Fix text width scale setting in create.py
1 parent 85b7fb1 commit ec30537

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyrevitlib/pyrevit/revit/db/create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ def create_text_type(name,
378378
spec_tnote_type.Parameter[DB.BuiltInParameter.TEXT_STYLE_UNDERLINE]\
379379
.Set(1 if underline else 0)
380380
spec_tnote_type.Parameter[DB.BuiltInParameter.TEXT_WIDTH_SCALE]\
381-
.Set(width_factor if width_factor != 1.0 else 1.0)
381+
.Set(width_factor)
382382
return spec_tnote_type
383383

384384

0 commit comments

Comments
 (0)