Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

How to get a parameters name in the parameter?

Still a little green? Ask your beginner's questions here

How to get a parameters name in the parameter?

Postby computersarecool » Wed Oct 11, 2017 3:37 am

How do I get the `tx` name in a parameter.

I want to put the same expression in a bunch of different parameters and get the correct expression name returned.

Something like me.par.name where me is the par instead of the operator so I could put it in the `ty` parameter and it would return `ty`, or `tx` if it were in the `tx` parameter.
computersarecool
 
Posts: 184
Joined: Mon Aug 26, 2013 5:15 am

Re: How to get a parameters name in the parameter?

Postby malcolm » Thu Oct 12, 2017 10:59 am

In the 2017.30000 series of builds we've added me.curPar. So you can do me.curPar.name.
User avatar
malcolm
Staff
 
Posts: 3857
Joined: Tue Nov 13, 2007 1:11 am

Re: How to get a parameters name in the parameter?

Postby computersarecool » Sun Oct 15, 2017 4:14 am

SWEET. THANKS. AWESOME.
computersarecool
 
Posts: 184
Joined: Mon Aug 26, 2013 5:15 am


Return to Beginners

Who is online

Users browsing this forum: Google [Bot] and 6 guests