From 833d16404fb9133ac7b83c341447c7d68c8dd2fc Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Sun, 13 Oct 2019 07:45:19 +0200 Subject: [PATCH] Update attribute filter in accordance with help string --- src/ifcconvert/IfcConvert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ifcconvert/IfcConvert.cpp b/src/ifcconvert/IfcConvert.cpp index ad08685262..b2f9a1ef78 100644 --- a/src/ifcconvert/IfcConvert.cpp +++ b/src/ifcconvert/IfcConvert.cpp @@ -1039,7 +1039,7 @@ void parse_filter(geom_filter &filter, const std::vector& values) filter.type = geom_filter::ENTITY_TYPE; } else if (type == "layers") { filter.type = geom_filter::LAYER_NAME; - } else if (type == "arg") { + } else if (type == "attribute" || type == "arg") { filter.type = geom_filter::ENTITY_ARG; filter.arg = *(values.begin() + 1); } else {