mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
review: Take into account remarks
This commit is contained in:
@@ -133,7 +133,7 @@ public:
|
||||
};
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
const char filename[] = "IfcCsgPrimitive.ifc";
|
||||
const char filename[] = "csg_primitive.ifc";
|
||||
IfcHierarchyHelper<IfcSchema> file;
|
||||
file.header().file_name()->setname(filename);
|
||||
|
||||
@@ -187,7 +187,7 @@ int main(int argc, char** argv) {
|
||||
product->setRepresentation(shape);
|
||||
|
||||
using namespace std::string_literals;
|
||||
file.getSingle<IfcSchema::IfcProject>()->setName("IfcCompositeProfileDef"s);
|
||||
file.getSingle<IfcSchema::IfcProject>()->setName("csg_primitive"s);
|
||||
|
||||
std::ofstream f(filename);
|
||||
f << file;
|
||||
|
||||
Reference in New Issue
Block a user