@@ -278,7 +278,7 @@ IfcSchema::IfcProductDefinitionShape* IfcHierarchyHelper::addExtrudedPolyline(co
278278 ? context
279279 : getRepresentationContext (" Model" ), std::string (" Body" ), std::string (" SweptSolid" ), items);
280280 reps->push (rep);
281- IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape (0 , 0 , reps);
281+ IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape (boost::none, boost::none , reps);
282282 addEntity (rep);
283283 addEntity (shape);
284284 addExtrudedPolyline (rep, points, h, place, place2, dir, context);
@@ -292,7 +292,7 @@ void IfcHierarchyHelper::addBox(IfcSchema::IfcShapeRepresentation* rep, double w
292292{
293293 if (false ) {
294294 IfcSchema::IfcRectangleProfileDef* profile = new IfcSchema::IfcRectangleProfileDef (
295- IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, 0 , place ? place : addPlacement2d (), w, d);
295+ IfcSchema::IfcProfileTypeEnum::IfcProfileType_AREA, boost::none , place ? place : addPlacement2d (), w, d);
296296 IfcSchema::IfcExtrudedAreaSolid* solid = new IfcSchema::IfcExtrudedAreaSolid (profile,
297297 place2 ? place2 : addPlacement3d (), dir ? dir : addTriplet<IfcSchema::IfcDirection>(0 , 0 , 1 ), h);
298298
@@ -333,7 +333,7 @@ IfcSchema::IfcProductDefinitionShape* IfcHierarchyHelper::addBox(double w, doubl
333333 IfcSchema::IfcShapeRepresentation* rep = new IfcSchema::IfcShapeRepresentation (
334334 context ? context : getRepresentationContext (" Model" ), std::string (" Body" ), std::string (" SweptSolid" ), items);
335335 reps->push (rep);
336- IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape (0 , 0 , reps);
336+ IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape (boost::none, boost::none , reps);
337337 addEntity (rep);
338338 addEntity (shape);
339339 addBox (rep, w, d, h, place, place2, dir, context);
@@ -354,7 +354,7 @@ IfcSchema::IfcProductDefinitionShape* IfcHierarchyHelper::addAxisBox(double w, d
354354 reps->push (axis_rep);
355355 reps->push (body_rep);
356356
357- IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape (0 , 0 , reps);
357+ IfcSchema::IfcProductDefinitionShape* shape = new IfcSchema::IfcProductDefinitionShape (boost::none, boost::none , reps);
358358 addEntity (shape);
359359 addEntity (body_rep);
360360 addBox (body_rep, w, d, h, 0 , 0 , 0 , context);
0 commit comments