TCL/TK script : get entity type Slave/Master

hugo_c
hugo_c Altair Community Member
edited October 2020 in Community Q&A

Hi, 

Firstly i appologise for my english and if the topic is not at the right place. 

 

I am currently working on a Auto Contact script and i need to know informations about the master and slave entity. 

When an auto contact is made, the master can be type Sets or type Contactsurfs and same for the Slave. 

 

I am looking for a command or a script that can return this specific information about slave AND master. 

 

When i use the command hm_getvalue i can only get the IDs of slave or master  but without knowing in which collector they are. 

 

Here's what it looks like

Unable to find an attachment - read this blog

Tagged:

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • vipin_22401
    vipin_22401 Altair Community Member
    edited March 2019

    Hi,

    Try this dataname. Similarly for slave.

    image.png.ba409ebf6e0d21662231ebc6ee3f4616.png

  • hugo_c
    hugo_c Altair Community Member
    edited March 2019

    Thank you so much, 

    It worked perfectly !

     

    Best regards, 

     

    Hugo

  • ravinder muppidi
    ravinder muppidi Altair Community Member
    edited June 2019

    Hi hugo

     

    Please can u share us the tcl script.

     

    It will be useful for many users....

    Thank you in advance!

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.