Jump to content
Valent

Can I use the name of the current wrangle(node) inside the very same(or any other) wrangle?

Recommended Posts

Hi,
Can I use the name of the current wrangle(node) inside the very same(or any other) wrangle? I have more than one instance of the same wrangle in my network and I would like them to make different groups based on their names (or any other node's name). Is it possible?  

Share this post


Link to post
Share on other sites

You can use a backtick of $OS to achieve that.

string group_name = "`$OS`";
setpointgroup(0,group_name,@ptnum,1,"set");

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×