Andrej730
1343741cfd
sequence.remove_work_calendar to remove related work times
...
Previously they were leaved orphaned
2024-06-10 16:55:20 +05:00
Andrej730
7c713eee65
nest.remove_task to clean up ownerhistory in more cases
...
1) It wasn't removing ownerhistory in the case if task was RelatingObject in IfcRelNests
2) Replaced handling of IfcRelNests as an inverse with direct api calls.
3) Added some basic tests.
2024-06-10 15:51:03 +05:00
Andrej730
61c2a2c6c6
remove_work_schedule to unassign a work schedule from a work plan #4819
2024-06-07 17:15:51 +05:00
Andrej730
5c41baeaf1
remove_work_plan - unassign work schedules #4819
2024-06-07 17:15:51 +05:00
Andrej730
4a5d1eba0b
specify exported api methods in __all__
...
It's py.types requirement, similar to 6e2edbf
Example issue without __all__:
import ifcopenshell
import ifcopenshell.api.project
# "create_file" is not exported from module "ifcopenshell.api.project"
ifcopenshell.api.project.create_file()
2024-06-03 17:44:05 +05:00
Andrej730
f576aadee1
typing
2024-05-24 19:15:51 +05:00
Andrej730
bb8e84e5ec
typing
2024-05-15 17:18:33 +05:00
Andrej730
845d772a08
move sequence.get_related_products to util module
2024-05-10 19:18:09 +05:00
Andrej730
1e630ede08
ifc2x3 tests
2024-05-10 19:18:09 +05:00
Andrej730
c50d1ea2fe
typing
2024-05-10 19:18:08 +05:00
Andrej730
cbf04546b8
fix many implicit ifcopenshell.guid imports
...
a bit related to 10d30b0de
2024-05-08 18:18:02 +05:00
Dion Moult
10d30b0de7
Document api modules and require explicit imports of API submodules
2024-05-08 17:00:35 +10:00
Dion Moult
d11ec67129
Generate functions for all API usecases for better static code features. See #2693 .
2024-05-06 14:43:43 +10:00
Dion Moult
a213ab6760
Fix docstrings to reference datatype as it would be used for users
2024-05-06 08:39:48 +10:00
Andrej730
ac29e152bb
project.unassign_declaration - support batching #4474
2024-05-03 16:28:10 +05:00
Andrej730
de690a385c
project.assign_declaration - support batching #4474
2024-05-03 16:28:10 +05:00
Andrej730
889c9a9e9f
typing
2024-04-22 17:30:25 +05:00
Vukas Pajic
58b39d3926
fix: address test fails
2024-04-11 13:03:13 +02:00
Vukas Pajic
946c868388
fix: cascade_schedule correctly handles timelag with IfcRatioMeasure
2024-04-11 11:35:34 +02:00
Andrej730
06b84cfa24
nest.unassign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
97db95085a
nest.assign_object - support batching #4474
2024-04-09 18:33:25 +05:00
Andrej730
d1bcec7a6a
typing
2024-04-09 18:33:25 +05:00
Andrej730
cd11d2de27
aggregate.assign_object - support batching #4474
2024-04-08 17:49:48 +05:00
Dion Moult
0bc83fedae
Use indices instead of WorkTimeDatesInterface
...
Checking start/end dates are done very, very often in date calculations (often looping through every day in a date range). So I'd prefer more opaque code but less overhead.
2024-03-31 22:11:17 +11:00
Andrej730
c1cd228911
Fix #4342
2024-02-22 16:19:19 +05:00
Andrej730
551f3b0d8d
Fix issues editing work time in ifc4x3 #4295
2024-02-20 12:38:29 +05:00
Dion Moult
40b6b3bf17
Fix #4224 . Fix sequencing lint bugs.
2024-01-16 10:47:50 +11:00
Dion Moult
6e932ec2fb
Fix #3974 . Bug where orphaned histories would be left in API remove operations.
2023-11-28 10:46:03 +11:00
taylor
ef56c6ce7e
Fixed model reference
2023-10-05 10:17:03 +02:00
Sigma Dimensions (Yass)
b5b8b5df26
cascade schedule when adding a sequence relationship
2023-09-20 01:15:06 +01:00
Sigma Dimensions (Yass)
ef11ae6540
fix calculating critical path to consider:
...
- parent tasks with sequence assignments #3772
- tasks that are constrained by a schedule start
2023-09-20 01:10:34 +01:00
Sigma Dimensions (Yass)
a3802c25c0
fix cascading schedule when parent tasks have sequence relationships #3772
2023-09-20 01:05:19 +01:00
Sigma Dimensions (Yass)
d3bcb8c6b9
updating a duration will not auto update schedule usage
2023-08-24 15:51:33 +01:00
Dion Moult
72cf5cfc59
Minor fix to allow edit_work_time to work seamlessly for IFC4X3.
2023-08-18 23:01:24 +10:00
Sigma Dimensions (Yass)
fe01d252db
WIP - Scheduling UI improvements
2023-08-10 22:07:34 +01:00
Sigma Dimensions
eb54f5a0cb
ios api task fix: remove orphan IfcRelNests when deleting tasks
2023-05-21 12:45:04 +01:00
Sigma Dimensions
64fd6a1f52
fix copying relationships when duplicating tasks
2023-05-03 19:43:05 +01:00
Sigma Dimensions
9422f804fb
minor fix
2023-05-03 04:22:02 +01:00
Sigma Dimensions
ca77a895e0
IOS.API consider removing baseline tasks when deleting tasks
2023-05-02 02:31:48 +01:00
Sigma Dimensions
0f447f964e
IOS.API usecase to create a work schedule baseline
2023-05-02 02:30:38 +01:00
Sigma Dimensions
2c31fc6b25
run black
2023-05-02 02:27:32 +01:00
Sigma Dimensions
2af4388f40
Fix duplicate task logic in IOS.API
2023-04-29 13:53:04 +01:00
Sigma Dimensions
f4b93ef243
You can now duplicate tasks
2023-02-12 00:37:37 +01:00
Dion Moult
f72d48aab5
Fix bug where calendar caching meant invalid duration calculations if you edited your calendar after a date calculation.
2023-02-03 10:06:55 +11:00
Dion Moult
be26a77ecb
Support times specified as ISO strings too in date utils, not just datetimes.
2023-02-02 23:01:49 +11:00
Dion Moult
18ba805a15
Fix silly bug.
2023-02-02 21:36:13 +11:00
Dion Moult
b3c7971ea9
Purge all data classes from API.
2023-02-01 15:44:08 +11:00
Sigma Dimensions
78a6532615
ifcopenshell: Improve purging for remove_task usecase
2023-01-20 12:58:11 +01:00
Dion Moult
c8ba96cde8
Make syntax highlighting explicit in docs
2023-01-10 10:16:28 +11:00
Dion Moult
2805109cef
Write documentation for sequence API module
2023-01-03 17:31:48 +11:00