Dion Moult
256c0baa14
Accommodate invalid Revit models where they have invalid material relationships.
2023-08-25 16:52:00 +10:00
Dion Moult
57173c7740
You can now get specific container types via util.element or util.selector. E.g. if you wanted to know what building an object is in or what storey an object is on.
2023-08-21 23:07:02 +10:00
Dion Moult
ed4abacd1e
Fix #3578 . Support querying surface styles in tools like IfcCSV.
2023-08-14 11:55:15 +10:00
Dion Moult
a1caef5b4f
See #3334 . Fix some get_pset implementation errors in 64516a1
2023-07-05 10:37:13 +10:00
Dion Moult
c0402687b5
See #3334 . Optimise pset getting and add simple "broadphase" filtering for all facets for faster validation.
2023-07-04 15:50:44 +10:00
Dion Moult
64516a173a
See #3334 . Fix bug where get_pset didn't handle property inheritance correctly.
2023-07-04 15:50:44 +10:00
Dion Moult
bac683e105
Fix bug for getting psets of materials and profiles in IFC2X3
2023-06-16 13:32:33 +10:00
Dion Moult
64b9d2e5e3
See #3226 . New batched remove_deep2() which uses serialisation for faster removal performance on large graphs.
2023-06-06 17:40:31 +10:00
Dion Moult
3ee6bdf207
You can now get decompositions non-recursively in element utilities
2023-06-05 15:11:55 +10:00
Gorgious56
2b99cc1e58
Fix typo in get_pset docstring
2023-05-10 16:41:19 +02:00
Dion Moult
bac0dd37fa
Fix #3052 . Deep deletion of large geometries is now thousands of times faster.
2023-04-27 20:15:17 +10:00
arun
1a7843a6b5
Nesting added to util.get_decomposition function
2023-04-19 15:46:51 +10:00
Dion Moult
088354a96b
Fix critical bug where copied representations would be inefficiently or incorrectly replicated.
2023-03-19 22:03:45 +11:00
Dion Moult
93b44b43a5
You can now get all materials including materials in sets via the util module.
2023-03-09 17:48:10 +11:00
Dion Moult
82b201a14e
Fix #2352 . Text styling is now possible with custom classes.
2023-02-12 15:01:47 +11:00
Dion Moult
88bddb9531
See #2520 . You can now duplicate drawings.
2023-02-08 12:29:49 +11:00
Dion Moult
6a2307308c
Fix bug where copying objects with profiles should only share profiles if the profile is named.
2023-01-28 21:51:00 +11:00
Dion Moult
ba7741fef5
Fix #2285 . You can now get all the elements in a presentation layer.
2023-01-12 12:28:09 +11:00
Dion Moult
c8ba96cde8
Make syntax highlighting explicit in docs
2023-01-10 10:16:28 +11:00
Vukas Pajic
f0b9c9ad7b
#2602 get_properties no longer throws error when EnumerationValues = None
2022-11-18 14:35:57 +01:00
Dion Moult
adc59de2bf
Minor fix to accommodate null descriptions and parents with no attributes
...
# Conflicts:
# src/ifcopenshell-python/ifcopenshell/util/doc.py
2022-11-03 17:13:56 +11:00
Boris Brangeon
b2c5153c1c
Add IsGroupedBy in function get_decomposition ( #2513 )
...
* Add IsGroupedBy in function get_decomposition
selector example : "@ .IfcZone & .IfcSpace"
* Update element.py
* Change name function get_group
get_group to get_grouped_by
2022-10-19 18:48:55 +11:00
Dion Moult
232252f61d
Copy deep can now exclude things, useful for copying representation graphs where you don't want to duplicate the context
2022-10-09 17:15:39 +11:00
Dion Moult
4110b81270
Decomposition mode now selects all children (not parenting) to move a host and all children easily
2022-10-08 23:42:03 +11:00
Dion Moult
171db4b241
Add support for connecting/disconnecting paths in API
2022-09-15 10:32:01 +10:00
Dion Moult
91fac6d4bd
Add IfcTester support and test cases for bounded, table, and reference props
2022-09-12 22:35:05 +10:00
Dion Moult
c7c59d9496
IfcTester now supports list and enumerated properties
2022-09-12 21:34:06 +10:00
Dion Moult
451512ddff
#1812 Add batching support for remove_deep2 for faster removals
2022-08-30 20:08:03 +10:00
Dion Moult
f50e790b11
Minor fix
2022-08-22 17:02:05 +10:00
Dion Moult
520e7653e4
#1375 #2317 add API support for referencing in spatial structures
2022-08-19 18:43:39 +10:00
Sigma Dimensions
d3795c9836
Documentation for ifcopenshell.util.element
2022-08-15 19:40:51 +01:00
Vukas Pajic
5b77001568
updated according to comments
2022-06-29 17:23:27 +10:00
Vukas Pajic
1f4022a41b
fix error from util/element.py
2022-06-29 17:23:27 +10:00
Vukas Pajic
c8c9262090
initial commit
...
-Added support for adding and editing enums
-changed behaviour of template psets that have enums.
2022-06-29 17:23:27 +10:00
Dion Moult
1ec0e1ce19
Fix bug with displaying inherited psets by accident.
2022-06-08 09:07:22 +10:00
Dion Moult
4c4846bc8f
Support userdefined process types in util module
2022-05-31 16:23:13 +10:00
Dion Moult
4da5a38237
Implement IDS material null checks, inheritance checks, and set item checks
2022-05-12 12:06:23 +10:00
Dion Moult
eb3e137a6e
#2196 Get psets now handleds inheritance by default
2022-05-11 09:18:23 +10:00
Dion Moult
93fd3f97e3
#2111 New feature to select by style and see style usage
2022-05-08 18:03:18 +10:00
Dion Moult
9fc0baf175
#1153 Add support for IfcAnnotationFillArea representation
2022-04-18 10:27:20 +10:00
Dion Moult
9b9f0058f9
The material manager now shows total elements used by a material
2022-03-22 12:50:10 +11:00
Gorgious56
098ab2c237
Spatial Elements Utilities and QOL ( #2008 )
...
* Tool to add storey to specific building
* Operator to add new storey to building
* Add new storey to building button in aggregates panel
* Minor fix
* add method to data class to retrieve ifc class name
* Extract aggregate creation logic
* Prevent aggregating non-ifc elements + display popup info
* Add tooltips + rename operators
* Rename function to get relating object
* Rename relating object data variable to be able to have access to related objects
* Add utilities to get related objects
* Add utility function to get related objects from element
* display related object in Aggregates panel in object properties
* Revert "Rename function to get relating object"
This reverts commit 5248627a41 .
* Update method names
* Add Operator to select parts of an element
* Ditch box layout and only display number of parts
* Add operator to select aggregate of an element
* Display operator to select aggregate of element
* Move logic to aggregate module
* Add utility methods to Blender tool
* Add buttons to create Ifcsite and IfcBuilding from object panel
2022-02-03 07:16:43 +01:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Dion Moult
78d33437ea
New utility to get predefined type
2022-01-12 14:11:31 +11:00
Dion Moult
ebf6b9fc88
Fix #1886 .
2021-11-19 19:08:34 +11:00
Dion Moult
41486ba08a
New utility to get layers of an element. See #1869 .
2021-11-16 18:07:47 +11:00
Dion Moult
2120653104
Minor fix.
2021-11-16 17:52:08 +11:00
Dion Moult
4fdcb87a28
New IfcOpenShell utility to get instances of an element type easily
2021-11-08 21:12:38 +11:00
Dion Moult
54fa45850a
Get psets utility now supports getting material and profile psets
2021-10-25 16:09:04 +11:00
Dion Moult
fbadcc017b
Get psets utility can now filter only psets or qtos
2021-10-25 15:36:55 +11:00