Dion Moult
c1bde09585
IfcCSV now supports grouping and group operations like concat, sum, min, max, etc.
2023-08-22 15:43:31 +10:00
Dion Moult
b8d191ac1c
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).
2023-08-21 23:44:20 +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
e1c7b37d62
See #3587 . IfcCSV now supports custom header titles.
2023-08-19 23:09:40 +10:00
Dion Moult
2dcfcf9708
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.
2023-08-17 23:33:40 +10:00
Dion Moult
297a513d21
Don't strictly require guids / class filters that exist in new facet selector.
2023-08-16 14:05:26 +10:00
Dion Moult
f523870b57
Fix #3584 . Support matching enumerated properties in new facet selector.
2023-08-15 09:59:50 +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
dd827bb4c5
You can now save, load, and create custom colour legends of properties
2023-07-23 15:20:14 +10:00
Dion Moult
74637dd0ea
You can now load and save searches from the search panel
2023-07-22 22:49:22 +10:00
Dion Moult
1b71f4f569
Implement guid facet in facet selector
2023-07-20 19:42:34 +10:00
Dion Moult
452089596e
New facet based selector syntax. Proposed to supersede existing selector syntax.
2023-07-20 19:22: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
f2c757b1bb
Fix #3113 . Support regex in selector filter values.
2023-05-31 13:23:51 +10:00
Dion Moult
1fb6dac6fb
Fix failing tests in preparation for release.
2023-05-06 11:05:13 +10:00
Dion Moult
3d441b4ad3
Fix #3038 . Fix #3039 . Selector should default to none instead for throwing errors if the query doesn't have a result.
2023-04-20 17:41:52 +10:00
Dion Moult
6c5acfc8bb
Fix #2945 . Selector should expand enumerated list properties so that you can match any of them.
2023-04-06 19:21:22 +10:00
Dion Moult
a1acdc0977
See #2881 . Allow indices in the selector instead of relying on external evaluations.
2023-04-04 09:58:23 +10: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