Skip to main content
6-Contributor
July 5, 2024
Solved

Change binding through script

  • July 5, 2024
  • 2 replies
  • 935 views

GV_11098078_0-1720193268845.png

Can I change a binding like in manage bindings menu through script? and if I can, how so ?

Best answer by Arun_C

Hi @GV_11098078 ,

 

In thing level you can find the  'SetLocalPropertyBinding,SetRemotePropertyBinding,RemoveLocalPropertyBinding,RemoveRemotePropertyBinding'  with the help of these Binding Servcies  you can easily manage the bindings to property in script level.

 

Arun_C_0-1720413096225.png

Thanks & Regards,

Arun C

 

2 replies

Arun_C16-PearlAnswer
16-Pearl
July 8, 2024

Hi @GV_11098078 ,

 

In thing level you can find the  'SetLocalPropertyBinding,SetRemotePropertyBinding,RemoveLocalPropertyBinding,RemoveRemotePropertyBinding'  with the help of these Binding Servcies  you can easily manage the bindings to property in script level.

 

Arun_C_0-1720413096225.png

Thanks & Regards,

Arun C

 

16-Pearl
December 4, 2024

Hi @GV_11098078 ,

It appears that Arun's reply answers your question.  For the benefit of other Community Members who may have the same question, it would be great if you could designate it as the Accepted Solution.

In the event that this response did not answer your question, please post your current status so that we can continue to support.

Thanks for using the PTC Community!

Regards,