Cancel
Showing results for 
Search instead for 
Did you mean: 

How to get PLP's parameters?

Valued Contributor
Valued Contributor

Is there a way to the following two paramerers of PLP: Primary Axis and Control Direction?

I will appreciate for any reply.

plp.png

 

Regards,

KX

2 REPLIES

Re: How to get PLP's parameters?

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello KX,

 

Are you familiar with the eMServer API?

If you have a PmPLP object given, then use the server API

 

HRESULT GetFieldsEx (
[in] EmpContext* Context,
[in] EmpObjectKey* ObjectKey,
[in] SAFEARRAY(BSTR)* FieldNames,
[out, retval] SAFEARRAY(EmpFieldInfo)* FieldsInfo
);


from the EmpModel Library (EMPMODELLib.dll)

passing the fields
primaryAxis, controlDirectionX, controlDirectionY, controlDirectionZ in the fieldnames array
The values are returned in the FieldsInfo array.

 

Best Regards,

DianaG

 

Re: How to get PLP's parameters?

Valued Contributor
Valued Contributor

This works great!!!. Thanks a lot.

Best Regards

KX