fix removing cost item value

This commit is contained in:
Sigma Dimensions
2023-06-02 00:31:50 +01:00
parent 6e3acd8c4a
commit 362409cdcb
2 changed files with 2 additions and 1 deletions
@@ -67,7 +67,7 @@ class Usecase:
if self.settings["cost_item"].CostValues:
[
ifcopenshell.api.run(
"cost.remove_cost_item_value",
"cost.remove_cost_value",
self.file,
parent=self.settings["cost_item"],
cost_value=cost_value,
@@ -17,6 +17,7 @@
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
import ifcopenshell.util.element
import ifcopenshell.api
class Usecase: