mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 10:06:47 +00:00
Replace all ifcopenshell.api.run with ifcopenshell.api static functions.
This commit is contained in:
@@ -58,7 +58,7 @@ def edit_wcs(
|
||||
.. code:: python
|
||||
|
||||
# This is the simplest scenario, resetting the WCS to 0,0,0 with no rotation (recommended)
|
||||
ifcopenshell.api.run("georeference.edit_wcs", model)
|
||||
ifcopenshell.api.georeference.edit_wcs(model)
|
||||
"""
|
||||
unit_scale = ifcopenshell.util.unit.calculate_unit_scale(file)
|
||||
if np.isclose(rotation, 0):
|
||||
|
||||
Reference in New Issue
Block a user