How to select contact side or Contact Selection in contact tool worksheet by scripting ?

Happy Kumar
Happy Kumar Member Posts: 15
First Comment
**
edited July 8 in Structures

I want to access contact side in contact side of Worksheet through scripting and want to change it to "contact" instead of "Both" and want to click on Apply through scripting.

Answers

  • Abel Ramos
    Abel Ramos Member, Employee Posts: 42
    5 Answers 10 Comments 5 Likes First Anniversary
    ✭✭✭✭

    Hello

    I think you can access through the contact tool internal object, however, please remember that "Internal Object" access point are not official supported, so they can be updated through releases or the behaviour might not be "as expected"

    connection = ExtAPI.DataModel.Project.Model.Connections
    ct=connection.AddContactTool()
    ct.InternalObject.ContactSideScoping=1
    
  • Happy Kumar
    Happy Kumar Member Posts: 15
    First Comment
    **

    Abel not working as expected. I am not able to change contact selection or contact change