From 7f0def7f18f0ccf5a8acba125d2ce9d54ac4731d Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 31 Mar 2014 17:14:34 +0400 Subject: [PATCH] 22513: [CEA 1084] _objref_SMESH_Mesh instance has no attribute 'GetMEDMesh' Document parameters of smeshBuilder.Mesh() --- src/SMESH_SWIG/smeshBuilder.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/SMESH_SWIG/smeshBuilder.py b/src/SMESH_SWIG/smeshBuilder.py index 223cf9130..ce0a35594 100644 --- a/src/SMESH_SWIG/smeshBuilder.py +++ b/src/SMESH_SWIG/smeshBuilder.py @@ -384,9 +384,12 @@ class smeshBuilder(object, SMESH._objref_SMESH_Gen): #print "init_smesh" self.SetCurrentStudy(theStudy,geompyD) - ## Creates an empty Mesh. This mesh can have an underlying geometry. - # @param obj the Geometrical object on which the mesh is built. If not defined, - # the mesh will have no underlying geometry. + ## Creates a mesh. This can be either an empty mesh, possibly having an underlying geometry, + # or a mesh wrapping a CORBA mesh given as a parameter. + # @param obj either (1) a CORBA mesh (SMESH._objref_SMESH_Mesh) got e.g. by calling + # salome.myStudy.FindObjectID("0:1:2:3").GetObject() or + # (2) a Geometrical object for meshing or + # (3) none. # @param name the name for the new mesh. # @return an instance of Mesh class. # @ingroup l2_construct -- 2.39.2