Find nodes assigned to a system

Beta
Beta New Altair Community Member
edited October 2020 in Community Q&A

hi,

 

I am looking for a solution to find out the IDs of nodes assigned to a system which I already know the ID.

 

Is there anybody having any ideas how to do that ??

Answers

  • tinh
    tinh Altair Community Member
    edited August 2018

    *createmark nodes 1 'by system' ?

  • Beta
    Beta New Altair Community Member
    edited August 2018

    Hi Tinh.

     

    Nodes are not selectable with 'by system'

  • tinh
    tinh Altair Community Member
    edited August 2018

    *createmark nodes 1 'equal to value' inputsystemid ?

  • Beta
    Beta New Altair Community Member
    edited August 2018

    hi Tinh,

     

    No change, node is not selected.

  • tinh
    tinh Altair Community Member
    edited August 2018

    Is that an input system or output system?

  • vipin_22401
    vipin_22401 Altair Community Member
    edited August 2018

    hi,

     

    I am looking for a solution to find out the IDs of nodes assigned to a system which I already know the ID.

     

    Is there anybody having any ideas how to do that ??

    Hi @Toan Nguyen

    this could work for you.

     

    set sysId 1
    hm_getcrossreferencedentities systems $sysId 7 1 0 0 -byid
    hm_getmark nodes 1

  • Beta
    Beta New Altair Community Member
    edited November 2020

    @tinh

     

    It is an output system which is used to set displacement of nodes on that system.

     

    @vipin

     

    It doesn't work with the following message:

    hm_getcrossreferencedentities: unable to find the entity by id ' '1''.

     

    Please note that the system with ID 1 existed in the model I used for checking

     

     

    Unable to find an attachment - read this blog

  • vipin_22401
    vipin_22401 Altair Community Member
    edited August 2018

    Hi @Toan Nguyen 

    it is working for me. is it because of the hypermesh version?

    I am using 2017 version.

     

    image.png.3ab901bb4d03f673062fdb9e150cc921.png

  • tinh
    tinh Altair Community Member
    edited August 2018

    @tinh

     

    It is an output system which is used to set displacement of nodes on that system.

     

    @vipin

     

    It doesn't work with the following message:

    hm_getcrossreferencedentities: unable to find the entity by id ' '1''.

     

    Please note that the system with ID 1 existed in the model I used for checking

     

     

     

    So you found answer base on my *createmark command, didn't you? ;)/emoticons/default_wink.png' srcset='/emoticons/wink@2x.png 2x' title=';)' width='20' />

    I searched it by inputsystem

    Unable to find an attachment - read this blog

  • Beta
    Beta New Altair Community Member
    edited August 2018

    hi @tinh @vipin

     

    It works now, I forgot to set up a User Profiles.

     

    Thank you very much for the help from all of you!

  • vipin_22401
    vipin_22401 Altair Community Member
    edited August 2018

    Great!

    I too searched something similar @tinh:D/emoticons/default_biggrin.png' srcset='/emoticons/biggrin@2x.png 2x' title=':D' width='20' />

  • Beta
    Beta New Altair Community Member
    edited August 2018

    Just to provide some additional information:

     

    I used those command on HW14. Initially, It returned an error 'invalid entity type', so I changed the entity types from 'systems' to 'systs' then It worked.