Salome HOME
projects
/
modules
/
hexablock.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updated copyright message
[modules/hexablock.git]
/
doc
/
tui_component.rst
diff --git
a/doc/tui_component.rst
b/doc/tui_component.rst
index 2e143856641cfff65055d39fb49cf5a664211765..1a74d04c22785918d6576cd3223445cb51cafe94 100644
(file)
--- a/
doc/tui_component.rst
+++ b/
doc/tui_component.rst
@@
-16,7
+16,7
@@
Add a new empty document in the session::
doc = hexablock.addDocument(name)
doc = hexablock.addDocument(name)
-Add a new document loaded from a
"xml"
file::
+Add a new document loaded from a
*xml*
file::
doc2 = hexablock.loadDocument(filename)
doc2 = hexablock.loadDocument(filename)
@@
-24,14
+24,22
@@
Get the number of opened document in the session::
nd = hexablock.countDocument()
nd = hexablock.countDocument()
-Get the document number
"i"
::
+Get the document number
*i*
::
doc_i = hexablock.getDocument(i)
doc_i = hexablock.getDocument(i)
-
+
Remove a document in the session::
hexablock.removeDocument(doc_i)
Remove a document in the session::
hexablock.removeDocument(doc_i)
+Get a document from the current study::
+
+ doc = hexablock.getFromStudy(doc_entry)
+
+Add a document in the current study::
+
+ hexablock.addToStudy(doc)
+
A tool to dump a model of block::
hexablock.dump(doc, [mesh, [full]])
A tool to dump a model of block::
hexablock.dump(doc, [mesh, [full]])