]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Rename addExport() to exportToFile().
authorspo <sergey.pokhodenko@opencascade.com>
Tue, 27 Oct 2015 12:16:03 +0000 (15:16 +0300)
committerspo <sergey.pokhodenko@opencascade.com>
Tue, 27 Oct 2015 12:16:03 +0000 (15:16 +0300)
src/PythonAPI/model/exchange/__init__.py
src/PythonAPI/model/exchange/exchange.py
src/PythonAPI/model/partset/part.py

index 756097b874faaf39a6e176895a649a95a436c0e0..71b17bbea16420baad12ce0a43669aad8b214e02 100644 (file)
@@ -1,4 +1,4 @@
 """Package for Exchange plugin for the Parametric Geometry API of the Modeler.
 """
 
-from exchange import addImport, addExport
\ No newline at end of file
+from exchange import addImport, exportToFile
\ No newline at end of file
index c294bc4e4a764c11cdc9d35ae1b451b8bc38bf58..9648b7d529524b5f75dfd5b5698ec45815516c49 100644 (file)
@@ -48,7 +48,7 @@ class Import(Interface):
         pass
 
 
-def addExport(part, *args):
+def exportToFile(part, *args):
     """Add an Export feature to the Part and return Export.
 
     Pass all args to Export __init__ function.
index bcbd560877747d76ebad90099d5e3fc13078cf17..50eb352b9ecf56580d906f2b757daf472ffb4939 100644 (file)
@@ -40,5 +40,3 @@ class Part(Interface):
         """Returns the Part document created by this feature."""
         result_part = ModelAPI.modelAPI_ResultPart(self._feature.firstResult())
         return result_part.partDoc()
-
-