const std::list<std::shared_ptr<ModelAPI_Object> > & theObjects,
const ModelHighAPI_Double & theOffsetValue,
const bool theIsReversed,
- const std::string & theJointType)
+ const std::string & theJointType,
+ const bool theIsApprox)
: ModelHighAPI_Interface(theFeature)
{
if (initialize()) {
fillAttribute(theOffsetValue, value());
fillAttribute(theIsReversed, reversed());
fillAttribute(theJointType, joint());
+ fillAttribute(theIsApprox, approx());
execute();
}
AttributeDoublePtr aValue = value();
AttributeBooleanPtr aReversed = reversed();
AttributeStringPtr aJoint = joint();
+ AttributeBooleanPtr anApprox = approx();
// Check all attributes are already dumped. If not, store the feature as postponed.
if (!theDumper.isDumped(aOffsetObjects)) {
}
theDumper << aBase << " = " << aSketchName << ".addOffset(" << aOffsetObjects << ", "
- << aValue << ", " << aReversed << ", " << aJoint << ")" << std::endl;
+ << aValue << ", " << aReversed << ", " << aJoint << ", " << anApprox << ")" << std::endl;
// Dump variables for a list of created features
theDumper << "[";