mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-19 03:33:48 +00:00
Merge branch 'master' into v0.6.0
This commit is contained in:
@@ -62,6 +62,9 @@ static IfcUtil::ArgumentType helper_fn_attribute_type(const IfcUtil::IfcBaseClas
|
||||
const IfcParse::parameter_type* pt = 0;
|
||||
if (inst->declaration().as_entity()) {
|
||||
pt = inst->declaration().as_entity()->attribute_by_index(i)->type_of_attribute();
|
||||
if (inst->declaration().as_entity()->derived()[i]) {
|
||||
return IfcUtil::Argument_DERIVED;
|
||||
}
|
||||
} else if (inst->declaration().as_type_declaration() && i == 0) {
|
||||
pt = inst->declaration().as_type_declaration()->declared_type();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user