Salome HOME
projects
/
modules
/
smesh.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge from V6_main 11/02/2013
[modules/smesh.git]
/
doc
/
salome
/
examples
/
modifying_meshes_ex01.py
1
# Add Node
2
3
import smesh
4
5
mesh = smesh.Mesh()
6
7
# add node
8
new_id = mesh.AddNode(50, 10, 0)
9
print ""
10
if new_id == 0: print "KO node addition."
11
else: print "New Node has been added with ID ", new_id