Salome HOME
Issue #1773: Script python does not work
authordbv <dbv@opencascade.com>
Tue, 15 Nov 2016 13:40:54 +0000 (16:40 +0300)
committerdbv <dbv@opencascade.com>
Tue, 15 Nov 2016 13:41:12 +0000 (16:41 +0300)
commitab55bcd64e3c21f7c5363168e52cf72c6953a765
tree6bcbe57fdc3013573ea32042ba6a90597f3e219a
parent5f9a7eb3856371da8d52bc0b5665764abc928c7c
Issue #1773: Script python does not work

- Renamed the current method "result" by "results";
- Added the function "result" returning the first result, that is "results()[0]";
- Python Dump generate a call to "result()" instead of producing a call to "results()[0]".
18 files changed:
src/BuildPlugin/Test/TestWire.py
src/ConstructionPlugin/Test/TestAxisCreation.py
src/ConstructionPlugin/Test/TestPlane.py
src/ConstructionPlugin/Test/TestPoint.py
src/ExchangePlugin/Test/TestExport.py
src/FeaturesPlugin/Test/TestBoolean.py
src/FeaturesPlugin/Test/TestBooleanFill.py
src/FeaturesPlugin/Test/TestRecover.py
src/ModelAPI/Test/Test1757.py
src/ModelHighAPI/ModelHighAPI_Dumper.cpp
src/ModelHighAPI/ModelHighAPI_Interface.cpp
src/ModelHighAPI/ModelHighAPI_Interface.h
src/ModelHighAPI/Test/TestDeflectionDump.py
src/PythonAPI/Test/TestPrimitivesBox.py
src/PythonAPI/examples/MakeBrick1.py
src/PythonAPI/examples/MakeBrick2.py
src/PythonAPI/examples/Platine.py
src/SketchPlugin/Test/TestSplit.py