#2408 ifcopenshell.file.get_inverse(with_attribute_indices)

This commit is contained in:
Thomas Krijnen
2022-10-20 13:35:02 +02:00
parent 45087e8822
commit f012286eda
4 changed files with 66 additions and 2 deletions
+5
View File
@@ -252,7 +252,12 @@ public:
/// breadth-first search
aggregate_of_instance::ptr traverse_breadth_first(IfcUtil::IfcBaseClass* instance, int max_level=-1);
/// Get the attribute indices corresponding to the list of entity instances
/// returned by getInverse().
std::vector<int> get_inverse_indices(int instance_id);
aggregate_of_instance::ptr getInverse(int instance_id, const IfcParse::declaration* type, int attribute_index);
int getTotalInverses(int instance_id);
template <class T>