mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-29 10:50:35 +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):
|
||||
# Example: see GEOM_TestOthers.py
|
||||
self.GroupOp.AddObject(theGroup, theSubShapeID)
|
||||
RaiseIfFailed("AddObject", self.GroupOp)
|
||||
if self.GroupOp.GetErrorCode() != "PAL_ELEMENT_ALREADY_PRESENT":
|
||||
RaiseIfFailed("AddObject", self.GroupOp)
|
||||
pass
|
||||
pass
|
||||
|
||||
## Removes a sub object with ID \a theSubShapeId from the group
|
||||
|
Loading…
Reference in New Issue
Block a user