Hi all,
what is the command to get the mesh node numbers of a mesh in python?
EDIT: Actually I was refering to the total mesh node number (quantity of nodes). It was my fault I expressed myself wrong.
thanks.
Yes! For all PLAXIS commands there are Python equivalents:
You can directly translate the echo command but usually, in Python you would do:
nodes = g_i.Model.MeshStatus.NumberOfNodesprint(nodes)
Answer Verified By: Falko Schmidt
Ok, that works fine for the command line. Is there a python equivalent?
Hello Falko,
I see. Indeed that is way off what I thought your question was about. No worries, I have this one, too.
They all belong to the Model, inside the MeshStatus object. Here are some nice examples of the information you can get:
echo Model echo Model.MeshStatusecho Model.MeshStatus.NumberOfNodesecho Model.MeshStatus.NumberOfElementsecho Model.MeshStatus.Status
Thank You, I updated the answer. I was refering to the total mesh nodes generated by the g_i.mesh(0.1) command.
Dear Falko,
You can find all the available properties of Output objects in our documentation: Help>Command reference>Output objects>Soil
In principle, you can use the getresults command to retrieve the results and the property to query is the: NodeID