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,8 +3988,10 @@ class geompyDC(GEOM._objref_GEOM_Gen):
|
||||
def AddObject(self,theGroup, theSubShapeID):
|
||||
# Example: see GEOM_TestOthers.py
|
||||
self.GroupOp.AddObject(theGroup, theSubShapeID)
|
||||
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
|
||||
# @param theGroup is a GEOM group from which the new sub shape is removed
|
||||
|
Loading…
Reference in New Issue
Block a user