mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-01 04:10:34 +05:00
0019957: EDF 785 SMESH: Convert Quadratic and Group on GEOM.
This commit is contained in:
parent
38b273cd97
commit
ccbd05f5f7
@ -3988,7 +3988,9 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
|||||||
def AddObject(self,theGroup, theSubShapeID):
|
def AddObject(self,theGroup, theSubShapeID):
|
||||||
# Example: see GEOM_TestOthers.py
|
# Example: see GEOM_TestOthers.py
|
||||||
self.GroupOp.AddObject(theGroup, theSubShapeID)
|
self.GroupOp.AddObject(theGroup, theSubShapeID)
|
||||||
RaiseIfFailed("AddObject", self.GroupOp)
|
if self.GroupOp.GetErrorCode() != "PAL_ELEMENT_ALREADY_PRESENT":
|
||||||
|
RaiseIfFailed("AddObject", self.GroupOp)
|
||||||
|
pass
|
||||||
pass
|
pass
|
||||||
|
|
||||||
## Removes a sub object with ID \a theSubShapeId from the group
|
## Removes a sub object with ID \a theSubShapeId from the group
|
||||||
|
Loading…
Reference in New Issue
Block a user