mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-16 02:24:30 +00:00
Minor fixes to docs
This commit is contained in:
@@ -38,10 +38,10 @@ class Patcher:
|
||||
.. code:: python
|
||||
|
||||
# Convert to millimeters
|
||||
ifcpatch.execute({"input": model, "recipe": "ExtractElements", "arguments": ["MILLIMETERS"]})
|
||||
ifcpatch.execute({"input": model, "recipe": "ConvertLengthUnit", "arguments": ["MILLIMETERS"]})
|
||||
|
||||
# Convert to feet
|
||||
ifcpatch.execute({"input": model, "recipe": "ExtractElements", "arguments": ["FEET"]})
|
||||
ifcpatch.execute({"input": model, "recipe": "ConvertLengthUnit", "arguments": ["FEET"]})
|
||||
"""
|
||||
self.src = src
|
||||
self.file = file
|
||||
|
||||
@@ -55,7 +55,7 @@ class Patcher:
|
||||
|
||||
# Any property named "Area" is converted to a quantity named
|
||||
# "NetSideArea", if that standardised quantity exists.
|
||||
ifcpatch.execute({"input": model, "recipe": "ExtractElements", "arguments": ["Area", "NetSideArea"]})
|
||||
ifcpatch.execute({"input": model, "recipe": "ConvertPropertiesToQuantities", "arguments": ["Area", "NetSideArea"]})
|
||||
"""
|
||||
self.src = src
|
||||
self.file = file
|
||||
|
||||
Reference in New Issue
Block a user