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

Options
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: 40
    5 Likes First Answer First Comment First Anniversary
    Options

    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
    Options

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