mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
stub: get_attribute_category to consider derived attrs
This commit is contained in:
@@ -784,13 +784,14 @@ class entity_instance(entity_instance_mixin):
|
|||||||
"AGGREGATE OF AGGREGATE OF ENTITY INSTANCE",
|
"AGGREGATE OF AGGREGATE OF ENTITY INSTANCE",
|
||||||
"UNKNOWN",
|
"UNKNOWN",
|
||||||
]: ...
|
]: ...
|
||||||
def get_attribute_category(self, name: str) -> Literal[0, 1, 2]:
|
def get_attribute_category(self, name: str) -> Literal[0, 1, 2, 3]:
|
||||||
"""Get attribute category id.
|
"""Get attribute category id.
|
||||||
|
|
||||||
Available categories:
|
Available categories:
|
||||||
- `0` - invalid attribute
|
- `0` - invalid attribute
|
||||||
- `1` - forward attribute
|
- `1` - forward attribute
|
||||||
- `2` - inverse attributes
|
- `2` - inverse attributes
|
||||||
|
- `3` - derived attribute
|
||||||
"""
|
"""
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user