Jump to content
Sign in to follow this  
Sagar Motwani

How to select all nodes by path in a Closed Loop by scripting

Recommended Posts


For selecting nodes by path, I have tried >>

*nodelistbypath $node1 $node2 1

*entitysetcreatelist temp_nodes nodes 1

But this works only for a open path or shortest path from node1 to node2 in closed loop.

Please help me in above matter for selecting all nodes on a path.

P.S. I have a line with its ID  on that path. For any idea related to nodes on that line. And, I don't want to go with -->

*nodelistbypath $node1 $node_mid_path 1

*nodelistbypath $node_mid_path $node2 2

>>Union 1 and 2<<

*nodelistbypath $node2 $node1 2

>>Union 1 and 2<<

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...