I have a grid-like network consisting of paths and point nodes in Anylogic, where the intersection between two paths is a point node. There are 900 point nodes in the network, which are named node1, node2, node3, …, node900.
Is there any way to include those 900 point nodes into a collection programmatically (using codes)?
I noted that I can select all point nodes and then right-click to create a collection, but I am not sure how to select the point nodes only, without selecting the paths (as the point nodes are located in between paths).
Rip is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.