From 7c3a43b79f161608f02e59880480af08cc9dbea2 Mon Sep 17 00:00:00 2001 From: sln Date: Tue, 23 Aug 2005 08:35:18 +0000 Subject: [PATCH] GetElementType method added. It is used by GUI part in operation selection mechanism --- idl/SMESH_Mesh.idl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/idl/SMESH_Mesh.idl b/idl/SMESH_Mesh.idl index c2234028c..7dee0ce3f 100644 --- a/idl/SMESH_Mesh.idl +++ b/idl/SMESH_Mesh.idl @@ -415,6 +415,12 @@ module SMESH long_array GetNodesId() raises (SALOME::SALOME_Exception); + + /*! + * Returns type of mesh element + */ + ElementType GetElementType( in long id, in boolean iselem ) + raises (SALOME::SALOME_Exception); /*! * Get mesh description @@ -447,6 +453,12 @@ module SMESH */ long_array GetElementsByType( in ElementType theType ) raises (SALOME::SALOME_Exception); + + /*! + * Return type of submesh element + */ + ElementType GetElementType( in long id, in boolean iselem ) + raises (SALOME::SALOME_Exception); /*! *