]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
#20296 fix naming code
authorJérôme <jerome.lucas@cesgenslab.fr>
Mon, 16 Nov 2020 10:08:10 +0000 (11:08 +0100)
committerJérôme <jerome.lucas@cesgenslab.fr>
Mon, 16 Nov 2020 10:08:10 +0000 (11:08 +0100)
src/ExchangeAPI/ExchangeAPI_Import.cpp
src/ExchangeAPI/ExchangeAPI_Import.h

index 550d3384ee3ab9c01b5a3395f59710642ace6dee..84a949a674f629a65cdde331f6e97466f781c159 100644 (file)
@@ -71,9 +71,9 @@ void ExchangeAPI_Import::setParameters(const std::string & theFilePath,
                                        const bool  theMaterials,
                                        const bool  theColor)
 {
-  fillAttribute(theFilePath, mystepfilePath);
-  fillAttribute("STEP", myimporttype);
-  fillAttribute(theScalInterUnits, myscalinterunits);
+  fillAttribute(theFilePath, mystepFilePath);
+  fillAttribute("STEP", myimportType);
+  fillAttribute(theScalInterUnits, myscalInterUnits);
   fillAttribute(theMaterials,mymaterials);
   fillAttribute(theColor,mycolors);
   execute();
@@ -88,7 +88,7 @@ void ExchangeAPI_Import::setFilePath(const std::string & theFilePath)
     setParameters(theFilePath,true,false,false);
   }else{
     fillAttribute(theFilePath, myfilePath);
-    fillAttribute(anExtension, myimporttype);
+    fillAttribute(anExtension, myimportType);
     execute();
   }
 }
@@ -123,7 +123,7 @@ void ExchangeAPI_Import::dump(ModelHighAPI_Dumper& theDumper) const
       theDumper << aBase << " = model.addImportStep(" << aPartName << ", \""
                 << aFilePath << "\"" ;
 
-      theDumper << ", " << scalinterunits()->value()
+      theDumper << ", " << scalInterUnits()->value()
                 << ", " << materials()->value()
                 << ", " << colors()->value() << ")"<< std::endl;
   }else{
index 9cb21b70c3595f5861fddbec4328c2a2c1f30b3e..3024899189d4b7bc09b11527c936baa05623258b 100644 (file)
@@ -62,11 +62,11 @@ public:
   INTERFACE_6(ExchangePlugin_ImportFeature::ID(),
               filePath, ExchangePlugin_ImportFeature::FILE_PATH_ID(),
               ModelAPI_AttributeString, /** File path */,
-              importtype, ExchangePlugin_ImportFeature::IMPORT_TYPE_ID(),
+              importType, ExchangePlugin_ImportFeature::IMPORT_TYPE_ID(),
               ModelAPI_AttributeString, /**import type */,
-              stepfilePath, ExchangePlugin_ImportFeature::STEP_FILE_PATH_ID(),
+              stepFilePath, ExchangePlugin_ImportFeature::STEP_FILE_PATH_ID(),
               ModelAPI_AttributeString, /**step File path */,
-              scalinterunits, ExchangePlugin_ImportFeature::STEP_SCALE_INTER_UNITS_ID(),
+              scalInterUnits, ExchangePlugin_ImportFeature::STEP_SCALE_INTER_UNITS_ID(),
               ModelAPI_AttributeBoolean, /** Scale internationals units */,
               materials, ExchangePlugin_ImportFeature::STEP_MATERIALS_ID(),
               ModelAPI_AttributeBoolean, /** Materials */,