Andrej730
8cfd6b1754
Unify doc-strings (remove type/rtype)
...
As this information is already provided in type hints and we don't need to maintain it in two places.
2025-06-30 18:55:14 +05:00
Andrej730
bbebdd56ca
owner.edit_application
2025-06-18 19:12:12 +05:00
Andrej730
15112211c1
add_application not to add deprecated IfcTelecomAddress in ifc4x3 #6806
2025-06-16 19:57:00 +05:00
Andrej730
a75f6a5804
typing
2025-06-16 19:55:25 +05:00
Andrej
1608677d40
ifcopenshell.api.run to use explicit kwargs instead of unpacking
2025-06-10 18:54:35 +05:00
Andrej
a614fac71a
typing
2025-06-04 19:04:31 +05:00
Andrej730
0e8810c1f5
typing
2025-03-14 18:19:02 +05:00
Andrej730
5eb9cb2ee4
len(get_inverse) -> get_total_inverses
2025-02-24 18:52:35 +05:00
Andrej730
6eda4e389c
typing
2025-02-24 18:52:34 +05:00
Andrej730
67bac441ad
typing
2025-02-19 18:31:06 +05:00
Andrej730
17642ca4e9
typing
2025-02-18 18:50:34 +05:00
Andrej730
0ac9d739f8
remove unused code
2025-01-13 17:53:01 +05:00
Dion Moult
a6286293d8
Run black on IOS-Python
2024-07-26 12:00:57 +10:00
Dion Moult
07060fc769
Replace all ifcopenshell.api.run with ifcopenshell.api static functions.
2024-06-28 12:36:31 +10:00
Andrej730
4ec8345716
typing
2024-06-27 18:26:49 +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
ebd03e9290
typing
2024-05-13 18:01:17 +05:00
Andrej730
2f554db54b
owner.remove_person to remove IfcInventory in ifc2x3
2024-05-13 18:01:17 +05:00
Andrej730
2d35869c41
typing
2024-05-09 18:00:17 +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
addcf531f0
owner.update_owner_history - optimization
...
as it may be used very often
2024-05-01 16:42:20 +05:00
Andrej730
137a306269
typing
2024-05-01 16:42:20 +05:00
Andrej730
31d85b715a
typing
2024-04-26 18:23:18 +05:00
Andrej730
45dacc3612
migrate docs urls
2024-04-17 15:18:45 +05:00
Andrej730
7132c4e9bf
typing and small refactor
2024-03-22 16:54:42 +05:00
Dion Moult
2bede1cdf0
Fix #4340 . Indicate user needs to setup IFC2X3 user/app when using API directly.
2024-03-01 19:46:50 +11:00
Andrej730
91199308a9
descriptive error for missing user or application in ifc2x3 #4340
2024-02-20 15:21:48 +05: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
Dion Moult
14f1acadb7
See #3974 . WIP review to ensure history removal in API.
2023-11-27 18:31:55 +11:00
Dion Moult
b3c7971ea9
Purge all data classes from API.
2023-02-01 15:44:08 +11:00
Dion Moult
c8ba96cde8
Make syntax highlighting explicit in docs
2023-01-10 10:16:28 +11:00
Dion Moult
436482532d
Write documentation for resource API module
2022-12-16 15:07:02 +11:00
Dion Moult
0ccea3cef8
Add documentation for pset API module
2022-12-15 16:02:27 +11:00
Dion Moult
a5a1ef2e8e
Write docs for owner API module
2022-12-14 15:58:53 +11:00
Dion Moult
f0a00cbc94
#2185 Set up auto generated API reference documentation via sphinx-autoapi
2022-05-09 15:35:52 +10:00
Dion Moult
5f1b5d0c63
You can now manage actor assignments to products
2022-05-06 17:47:24 +10:00
Dion Moult
60ea856e51
New functions for IFC actor in API
2022-02-04 17:56:45 +11:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
aa6d03ade2
You can now reset and restore your API owner settings.
2022-01-18 17:42:17 +11:00
Dion Moult
ce3490824d
Optimise all editing API functions to be 100x faster when you're dealing with proprietary BIM exports with loads of shared owner histories. See #1904 and #1905 .
2022-01-10 12:12:34 +11:00
Dion Moult
622ff05247
Fix bug where updating owner history may not work if you were using it outside Blender.
2021-11-29 20:17:02 +11:00
Dion Moult
109149a0be
Optimise owner check depending on your implementation and no longer create default users on IFC4. Can result in 50% faster script running on long scripted operations.
2021-10-29 18:04:17 +11:00
Dion Moult
4697e063af
You can now add and remove users for ownership history
2021-10-01 17:32:58 +10:00
Dion Moult
fe1e30702a
Fix bug where removing addresses and roles could leave other elements in invalid states, "IfcPersonAndOrganization"
2021-10-01 14:48:44 +10:00
Dion Moult
291bb0cd55
Removing an organisation now properly handles references appropriately.
2021-10-01 13:29:10 +10:00
Dion Moult
915fa9f9b0
Removing a person no longer has the potential to leave files in an invalid state
2021-10-01 12:35:46 +10:00
Dion Moult
0a27308532
Optimise create owner history to not rely on a person and organisation lookup, speeding up long procedures
2021-10-01 11:05:35 +10:00