mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-31 08:56:34 +00:00
Inline conversion result vectors
Generated with the assistance of an AI coding tool.
This commit is contained in:
@@ -1036,7 +1036,7 @@ struct shape_rtti : public boost::static_visitor<PyObject*>
|
||||
// https://github.com/IfcOpenShell/IfcOpenShell/issues/1649
|
||||
instance.declaration().is("IfcProfileDef")
|
||||
) {
|
||||
ifcopenshell::geom::conversion_results shapes;
|
||||
std::vector<ifcopenshell::geom::conversion_result> shapes;
|
||||
try {
|
||||
shapes = kernel.convert(instance);
|
||||
} catch (...) {
|
||||
|
||||
Reference in New Issue
Block a user