]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchAPI/SketchAPI_ConstraintAngle.cpp
Salome HOME
Issue #3181: Improve Python dump
[modules/shaper.git] / src / SketchAPI / SketchAPI_ConstraintAngle.cpp
index 4f5eedf235d63b2a44b9977a4256a1ce68f90d09..e84634aaf453395094588f03b4e2ac2710749dba 100644 (file)
@@ -129,7 +129,9 @@ void SketchAPI_ConstraintAngle::dump(ModelHighAPI_Dumper& theDumper) const
   FeaturePtr aBase = feature();
 
   const std::string& aSketchName = theDumper.parentName(aBase);
-  theDumper << aBase << " = " << aSketchName << "." << "setAngle(";
+  //theDumper << aBase << " = " << aSketchName << "." << "setAngle(";
+  theDumper.name(aBase, false, true, true);
+  theDumper << aSketchName << "." << "setAngle(";
 
   bool isFirstAttr = true;
   for (int i = 0; i < CONSTRAINT_ATTR_SIZE; ++i) {