Cancel
Showing results for 
Search instead for 
Did you mean: 

Customized OLP commands via the API

Valued Contributor
Valued Contributor

Hello,

 

I would like to access the customized OLP commands layers via the API.

 

I can iterate through the operations, and for each TxWeldOperation and TxRoboticViaLocationOperation I can then iterate through the list of commands, but for customized commands it returns a string containing delimited properties (i.e. OLP_CUSTOMIZED_COMMAND_NAME=...;OLP_CUSTOMIZED_COMMAND_ID=...).

 

How do I access the different layers of this customized command?

 

I've looked through the documentation and nothing seems like the obvious choice.

 

I am using PS V14.

 

Thanks.

 

2 REPLIES

Re: Customized OLP commands via the API

Siemens Genius Siemens Genius
Siemens Genius

Hi,

 

you can use TxOlpCommandServices.GetCommandRepresentation under namespace Tecnomatix.Engineering.Olp.

 

Regards,

Moshe

Re: Customized OLP commands via the API

Valued Contributor
Valued Contributor

Thank you, Moshe.