anaStruct
anaStruct copied to clipboard
How to find element id
Is there any way to get the element id of a member by vertex or node point co ordinates when entire structure is drawn
I found this after taking a look at the docs. The link is https://anastruct.readthedocs.io/ .
Find node id based on coordinates:
SystemElements.find_node_id(vertex)[source] Retrieve the ID of a certain location.
Parameters: vertex (Union[Vertex, Sequence[float]]) – Vertex_xz, [x, y], (x, y)
Return type: Optional[int]
Returns: id of the node at the location of the vertex
I hope it helps!