mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-12 02:23:34 +00:00
Notify user if duration parsing not available in util.date
This commit is contained in:
@@ -56,10 +56,6 @@ def add_resource_time(file: ifcopenshell.file, resource: ifcopenshell.entity_ins
|
||||
ifcopenshell.api.run("resource.edit_resource_time", model,
|
||||
resource_time=time, attributes={"ScheduleWork": "PT16H"})
|
||||
"""
|
||||
settings = {
|
||||
"resource": resource,
|
||||
}
|
||||
|
||||
resource_time = file.create_entity("IfcResourceTime")
|
||||
settings["resource"].Usage = resource_time
|
||||
resource.Usage = resource_time
|
||||
return resource_time
|
||||
|
||||
Reference in New Issue
Block a user