9 Manage the vertices of the model of blocks of a document.
12 Add a new vertex of the model of blocks in the document::
14 vertex_1 = doc.addVertex(x, y, z)
16 Get the number of all vertices of the document::
18 sum_a = doc.countVertex()
20 Get the number of vertices used only by the model of blocks::
22 sum_u = doc.countUsedVertex()
24 Get the vertices used by the model of blocks
26 .. literalinclude:: test_doc/vertex/vertex.py
28 Get a vertex of the document::
30 vertex_i = doc.getVertex(i)
32 Get the coordinates of a vertex::
38 Set the coordinates of a vertex::
44 Find a vertex in the document (with a tolerance)::
46 vertex_f = doc.findVertex(x, y, z)
48 More operations: *Vertex* inherits :ref:`Element <tuielement>`.
50 GUI command: :ref:`guivertex`