Sync stub with the wrapper #6976

This commit is contained in:
Andrej730
2025-08-07 12:16:42 +05:00
parent ed8a31c54b
commit 0132edd774
2 changed files with 21 additions and 0 deletions
+5
View File
@@ -205,6 +205,11 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
%extend IfcUtil::IfcBaseClass {
%pythoncode %{
# Will be assigned when `ifcopenshell.entity_instance` is created.
file = None
%}
int get_attribute_category(const std::string& name) const {
if (!$self->declaration().as_entity()) {
return name == "wrappedValue";