mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-01 04:10:34 +05:00
Mantis issue 0020878: EDF GEOM: A former script doesn't work anymore (regression).
This commit is contained in:
parent
1620879e04
commit
7c20a00c5f
@ -17,12 +17,11 @@
|
|||||||
#
|
#
|
||||||
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
|
||||||
#
|
#
|
||||||
|
|
||||||
# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
|
# GEOM GEOM_SWIG : binding of C++ omplementaion with Python
|
||||||
# File : geompy.py
|
# File : geompy.py
|
||||||
# Author : Paul RASCLE, EDF
|
# Author : Paul RASCLE, EDF
|
||||||
# Module : GEOM
|
# Module : GEOM
|
||||||
#
|
|
||||||
"""
|
"""
|
||||||
\namespace geompy
|
\namespace geompy
|
||||||
\brief Module geompy
|
\brief Module geompy
|
||||||
@ -2122,6 +2121,9 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
|||||||
# Example: see GEOM_TestHealing.py
|
# Example: see GEOM_TestHealing.py
|
||||||
theValues,Parameters = ParseList(theValues)
|
theValues,Parameters = ParseList(theValues)
|
||||||
anObj = self.HealOp.ProcessShape(theShape, theOperators, theParameters, theValues)
|
anObj = self.HealOp.ProcessShape(theShape, theOperators, theParameters, theValues)
|
||||||
|
# To avoid script failure in case of good argument shape
|
||||||
|
if self.HealOp.GetErrorCode() == "ShHealOper_NotError_msg":
|
||||||
|
return theShape
|
||||||
RaiseIfFailed("ProcessShape", self.HealOp)
|
RaiseIfFailed("ProcessShape", self.HealOp)
|
||||||
for string in (theOperators + theParameters):
|
for string in (theOperators + theParameters):
|
||||||
Parameters = ":" + Parameters
|
Parameters = ":" + Parameters
|
||||||
|
Loading…
Reference in New Issue
Block a user