mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 23:12:34 +00:00
fix removing cost item value
This commit is contained in:
@@ -67,7 +67,7 @@ class Usecase:
|
|||||||
if self.settings["cost_item"].CostValues:
|
if self.settings["cost_item"].CostValues:
|
||||||
[
|
[
|
||||||
ifcopenshell.api.run(
|
ifcopenshell.api.run(
|
||||||
"cost.remove_cost_item_value",
|
"cost.remove_cost_value",
|
||||||
self.file,
|
self.file,
|
||||||
parent=self.settings["cost_item"],
|
parent=self.settings["cost_item"],
|
||||||
cost_value=cost_value,
|
cost_value=cost_value,
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
|
# along with IfcOpenShell. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import ifcopenshell.util.element
|
import ifcopenshell.util.element
|
||||||
|
import ifcopenshell.api
|
||||||
|
|
||||||
|
|
||||||
class Usecase:
|
class Usecase:
|
||||||
|
|||||||
Reference in New Issue
Block a user