# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
# export the methods of smeshBuilder
if smesh:
for k in dir( smesh ):
- if k[0] == '_': continue
- globals()[k] = getattr( smesh, k )
+ if k[0] == '_': continue
+ globals()[k] = getattr( smesh, k )
del k
pass
TODO:
The following changes in your scripts are required to avoid this message:
-replace
+replace
-------
import smesh, SMESH
you also need to modify some lines where smeshBuilder is used instead of smesh
-algo=smesh.xxxx ==> algo=smeshBuilder.xxxx
+algo=smesh.xxxx ==> algo=smeshBuilder.xxxx
See also SMESH User's Guide for more details
+WARNING:
+The smesh.py module works correctly only in the first created study.
+It does not work in the second, third, etc studies!
+
===============================================================================
"""