mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
Fixing bugs for Scheduling Module IFC4D (#1826)
* P6XML Parser failing on calendar type * add work plan references a get_person which is not an attribute. modified to get_user to work Co-authored-by: Dion Moult <dion@thinkmoult.com>
This commit is contained in:
@@ -185,8 +185,7 @@ class P62Ifc:
|
||||
def create_calendars(self):
|
||||
for calendar in self.calendars.values():
|
||||
calendar["ifc"] = ifcopenshell.api.run(
|
||||
"sequence.add_work_calendar", self.file, name=calendar["Name"], predefined_type=calendar["Type"]
|
||||
)
|
||||
"sequence.add_work_calendar", self.file, name=calendar["Name"])
|
||||
self.process_working_week(calendar["StandardWorkWeek"], calendar["ifc"])
|
||||
self.process_exceptions(calendar["HolidayOrExceptions"], calendar["ifc"])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user