Dion Moult
94e3627c8c
IfcCSV now supports grouping and group operations like concat, sum, min, max, etc.
2024-04-16 10:24:59 +02:00
Dion Moult
641b5e002a
Now support custom queries for advanced users in the facet selector (similar to old selector). Also support types and count keys. (e.g. filter by objects with zero types, or zero materials, etc).
2024-04-16 10:24:59 +02:00
Dion Moult
2dd6b164a9
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.
2024-04-16 10:24:59 +02:00
Dion Moult
331b9cc440
See #3587 . IfcCSV now supports custom header titles.
2024-04-16 10:24:58 +02:00
Dion Moult
54eda1a81c
Fix #3591 . Fix bug where IfcCSV import was not symmetric capability wise. Now you can set all sorts of complex values with the exact same keys you are using to query.
2024-04-16 10:24:57 +02:00
Dion Moult
93031f0fc0
Don't strictly require guids / class filters that exist in new facet selector.
2024-04-16 10:24:56 +02:00
Dion Moult
7038eb887f
Fix #3584 . Support matching enumerated properties in new facet selector.
2024-04-16 10:24:55 +02:00
Dion Moult
faa5a78b39
Fix #3578 . Support querying surface styles in tools like IfcCSV.
2024-04-16 10:24:55 +02:00
Dion Moult
aa325d521b
You can now save, load, and create custom colour legends of properties
2024-04-16 10:05:50 +02:00
Dion Moult
4396f937b5
You can now load and save searches from the search panel
2024-04-16 10:05:50 +02:00
Dion Moult
7fec467565
Implement guid facet in facet selector
2024-04-16 10:05:50 +02:00
Dion Moult
62c120e4bb
New facet based selector syntax. Proposed to supersede existing selector syntax.
2024-04-16 10:05:50 +02:00
Dion Moult
f1e3fb38ad
See #3334 . Fix some get_pset implementation errors in 64516a1
2024-04-15 13:30:40 +02:00
Dion Moult
30bff7e9c5
Fix #3113 . Support regex in selector filter values.
2024-04-15 09:58:26 +02:00
Dion Moult
b8431a8c33
Fix failing tests in preparation for release.
2024-04-15 09:56:38 +02:00
Dion Moult
4722208fa4
Fix #3038 . Fix #3039 . Selector should default to none instead for throwing errors if the query doesn't have a result.
2024-04-15 09:49:52 +02:00
Dion Moult
9707a2b2f6
Fix #2945 . Selector should expand enumerated list properties so that you can match any of them.
2024-04-15 09:25:50 +02:00
Dion Moult
dff33632ae
See #2881 . Allow indices in the selector instead of relying on external evaluations.
2024-04-15 09:25:49 +02:00
Dion Moult
c87911f00e
IFC selector now uses "class" as a keyword to get the IFC class to disambiguate between "type" and "class".
2023-03-27 21:47:11 +11:00
Dion Moult
b9c99b35a5
Fix #2881 . Support added for referencing nested relationships and material set items.
2023-03-25 22:07:18 +11:00
Dion Moult
1250a20e35
Fix #2858 . Fix #2856 . BlenderBIM Add-on drawings and IfcCSV now support the new quoted and escaped selector capabilities.
2023-03-13 11:09:56 +11:00
Dion Moult
4ebcf8133c
Fix #2435 . The selector now supports regex filtering.
2023-03-09 11:07:28 +11:00
Dion Moult
a43a3d1ecd
Fix #2745 . You can now quote and escape complex pset names in the selector.
2023-03-06 17:47:03 +11:00
Dion Moult
396fd5520f
Fix #2349 . Be more defensive on invalid smart annotations.
2023-01-29 15:15:00 +11:00
Sigma Dimensions
a5ca7c540f
remove useless lines and run quality check black
2023-01-20 21:39:24 +01:00
Sigma Dimensions
c9b0a7c3de
Attempt to fix selector bug where retrieving material values gets caught in exception
2023-01-20 21:23:40 +01:00
Boris Brangeon
83bd0a973c
Add function grouped_by in Selector ( #2515 )
2022-10-19 18:49:06 +11:00
Dion Moult
80020970e1
Purge old dynamic void system as Blender booleans are not sufficient.
2022-10-19 12:32:02 +11:00
Ryan Schultz
f8a8250429
searching for an IfcMaterial in IfcMaterialDefinitions ( #2503 )
...
* searching for an IfcMaterial in IfcMaterialDefinitions
A start to trying to address: https://community.osarch.org/discussion/comment/13024/#Comment_13024
* refactored to a tighter version. Thanks Thomas.
2022-10-17 20:24:05 +11:00
Thomas Krijnen
0810fa7564
Escape \W in selector grammar
2022-10-14 11:30:11 +02:00
Dion Moult
0844d6f52e
Fix #2354 - add support for selector queries for enumerated properties
2022-08-19 20:10:54 +10:00
Vukas Pajic
ce6d4ea59a
match elements when attribute is none and negation used
2022-07-20 09:33:58 +02:00
Vukas Pajic
afa0db3c7e
all tests in test_selector.py now passing
2022-07-19 14:51:48 +02:00
Vukas Pajic
2c29f89fe9
Selector - update regex for pset filter
2022-07-19 09:19:32 +02:00
Vukas Pajic
e3d9dd747d
draft
...
endofday 1207
240pm 14/07
draft version
cleanup
2022-07-18 15:11:27 +02:00
Dion Moult
9ea6499b5a
#2082 You can now filter by metadata existence in the selector syntax
2022-04-27 22:20:12 +10:00
Boris Brangeon
6160d65d18
Update selector.py
...
filter_rule.children[2].children[0].lower() == 'true'
2022-03-31 20:50:26 +02:00
Boris Brangeon
4f86dd143a
Update selector.py ( #2102 )
...
Add BOOLEAN: "TRUE" | "FALSE" | "true" | "false"| "True" | "False"
2022-03-24 11:02:58 +11:00
Dion Moult
c072554f21
You can now use the selector with a prefiltered list of elements
2022-03-22 11:32:40 +11:00
Dion Moult
18c9a57bea
Using the selector now supports recursive decomposition in the spatial hierarchy
2022-03-22 11:23:13 +11:00
Dion Moult
eaa3301b8f
New support for filtering elements by checking values against an enumeration
2022-03-22 10:49:48 +11:00
Dion Moult
efb89acfa3
You can now use a "not" operator when selecting elements
2022-03-22 10:40:05 +11:00
Dion Moult
96256d365a
Fix bug where you couldn't compare less than or equal to with the selector.
2022-03-22 10:39:10 +11:00
Dion Moult
fa6ec25a39
#2082 . You can now use the selector to filter by strict data types.
2022-03-21 18:03:25 +11:00
Dion Moult
44afa0df5d
Selector now uses classmethods to make it easier for scriptwriters to use
2022-03-21 17:28:16 +11:00
Dion Moult
50ed8eccfd
Fix bug where you couldn't select properties with a dot in the name for IfcCSV
2022-01-24 11:07:01 +11:00
Dion Moult
810c71dfa2
IfcOpenShell-python licensing and black. See #1082 .
2022-01-19 12:18:33 +11:00
Gorgious
59f156bae3
IFC Cobie : Fix Elements not being assigned in selector
2021-08-19 14:04:01 +02:00
Boris Brangeon
d71e89f823
Update selector.py ( #1627 )
...
Add new inverse_relationship ==> boundedby
If Entity IfcRelSpaceBoundary exist then hasattr(element, "BoundedBy") is True and relationship.RelatedBuildingElement exist.
New Rule Lark : "@@ .IfcSpace[Name *= \"Bedroom\"] & .IfcSlab"
2021-08-04 19:55:51 +10:00
Dion Moult
beb5dda6dd
New FM utility module for selecting maintainable assets according to different FM definitions
2021-07-23 16:10:38 +10:00