cancel
Showing results for 
Search instead for 
Did you mean: 

Get Parameter Index

Siemens Creator Siemens Creator
Siemens Creator

Hi,

 

Is there a way to get a collection of all "Parameter Indexes" that related to operation?

I want to be able to do something like this:

	for (String parameterIndex : parameterIndexCollection)
	{
		System.out.println(someOperation.getStringValue(parameterIndex));
	}

Thanks,

Tal.

 

3 REPLIES

Re: Get Parameter Index

Phenom
Phenom

Re: Get Parameter Index

Valued Contributor
Valued Contributor

Do you have this code in JAVA too?

Re: Get Parameter Index

Siemens Creator Siemens Creator
Siemens Creator

Thanks for the reply, but still I don't get how can I get the relevant Index Parameters in order to get information on an operation.

 

EDIT:

 

GOT IT Smiley Happy

 

UFSession ufSession = ClientAndServer.getUFSession();
AskRequiredParamsData data = ufSession.param().askRequiredParams(i_Operation.tag());
	
for(int i : data.indices)
{
	System.out.println(ufSession.param().askParamAttributes(i).name);
}

Thanks!