mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 10:23:41 +00:00
@@ -133,10 +133,10 @@ def update_door_modifier_representation(context):
|
|||||||
# occurences attributes
|
# occurences attributes
|
||||||
occurences = tool.Ifc.get_all_element_occurences(element)
|
occurences = tool.Ifc.get_all_element_occurences(element)
|
||||||
for occurence in occurences:
|
for occurence in occurences:
|
||||||
occurence.OverallWidth = props.overall_width
|
occurence.OverallWidth = props.overall_width / si_conversion
|
||||||
occurence.OverallHeight = props.overall_height
|
occurence.OverallHeight = props.overall_height / si_conversion
|
||||||
|
|
||||||
update_simple_openings(element, props.overall_width, props.overall_height)
|
update_simple_openings(element, props.overall_width / si_conversion, props.overall_height / si_conversion)
|
||||||
|
|
||||||
|
|
||||||
# TODO: move it out to tools
|
# TODO: move it out to tools
|
||||||
|
|||||||
Reference in New Issue
Block a user