cancel
Showing results for 
Search instead for 
Did you mean: 

Get value from TYPE_POINTER and TYPE_OBJECT

Siemens Creator Siemens Creator
Siemens Creator

Hi,

 

I'm coding on JAVA and I'm extracting all the operations parameters by the UFSession.

 

AskRequiredParamsData paramsData = m_UFSession.param().askRequiredParams(NXObjectTag);

 

 

Some of the parameters are from the type of TYPE_POINTER and TYPE_OBJECT.

How can I get the value of those parameters?

 

Thanks,

Tal.

1 REPLY

Re: Get value from TYPE_POINTER and TYPE_OBJECT

Siemens Phenom Siemens Phenom
Siemens Phenom

If you mean what integer values correspond to what types, this is easier to find in the .Net docs - or for that matter the Open C docs.

 

Open the .Net API Referenct, select the Index tab on the left, and type in

 

UFParam.Type

 

This will take you to the page that shows all of the enum values for these types. 0 is Logical, 1 is Char, 2 is Short and so on.

 

In the Open C Refererence, open the UF_PARAM chapter, and scroll down the left side to Enumerations, then select UF_PARAM_type_e.  This will show the list of #define'd constants, but you will have to count down from the first one (starting at zero) because it does not show the numerals.