mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Material psets now include category-specific psets and docstrings
Previously it was not possible to get concrete / steel material psets. Yikes!
This commit is contained in:
@@ -103,7 +103,8 @@ class PsetQto:
|
||||
matched_type = match.group(3)
|
||||
if matched_type and not predefined_type:
|
||||
continue
|
||||
elif matched_type and predefined_type != match.group(3):
|
||||
# Case insensitive to handle things like material categories
|
||||
elif matched_type and predefined_type.lower() != match.group(3).lower():
|
||||
continue
|
||||
|
||||
applicable_class = match.group(1)
|
||||
|
||||
Reference in New Issue
Block a user