mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-24 04:10:34 +05:00
Fix detection of GEOM groups for structural elements
This commit is contained in:
parent
9b2fb51c96
commit
e63bb2c6a9
@ -137,7 +137,7 @@ class StructuralElementPart:
|
||||
self.name = name
|
||||
self.geom = getGeompy(studyId)
|
||||
self.baseShapesSet = set()
|
||||
self.isMainShape = groupGeomObj.IsMainShape()
|
||||
self.isMainShape = (groupGeomObj.GetType() != 37) # See geompyDC.ShapeIdToType for type codes
|
||||
if not self.isMainShape:
|
||||
mainShape = self.geom.GetMainShape(groupGeomObj)
|
||||
listIDs = self.geom.GetObjectIDs(groupGeomObj)
|
||||
|
Loading…
Reference in New Issue
Block a user