🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Show elements in a pre-defined set in hw

User: "Guy01"
Altair Community Member
Updated by Guy01

Hello

Can anyone help me to do a 'isolate only' type of operation by command?

I would like to display results on a set defined in hyperview.

 

hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page1 [proj GetActivePage ]
page1 GetWindowHandle win1 [page1 GetActiveWindow]
win1 SetClientType 'Animation'
win1 GetClientHandle po1
po1 GetModelHandle mo1 [po1 GetActiveModel ]

mo1 GetSelectionSetList # i can see the available set list with this command

 

I cant find the way to select only a particular set (knowing its name or id).

 

Thanks in advance for the help

Find more posts tagged with

Sort by:
1 - 6 of 61
    User: "Guy01"
    Altair Community Member
    OP
    Updated by Guy01

    Hello again
     

    I never undertood when experts like you dont want to answer questions. Is it that the question is too hard to answer or too dumb?

    Or is it such a secret that you don't want to reveal it?

    Sometimes a simple answer like 'NO we cant do that' is sufficient and it is confusing to see no reply.

     

    Anyways you guys provided help till now so thanks for that. I will surely find myself answer for this soon.

    User: "QuyNguyenDai"
    Altair Community Member
    Updated by QuyNguyenDai

    Calme-toi !!!

    User: "Guy01"
    Altair Community Member
    OP
    Updated by Guy01

    TG toi!

    User: "llyle_20499"
    New Altair Community Member
    Updated by llyle_20499

    Hi Roche,

     

    You can try the below commands to Set you need:

      set setHandle [$modelHandle GetSelectionSetHandle setH1 'Set $id']  set nameSet [setH1 GetLabel]  # Can also be:   set setHandle [$modelHandle GetSelectionSetHandle setH2 'User_Set $id']  set nameSet [setH2 GetLabel]  # User_Set or Set are called pool can be found through GetPoolList  # Refer documentation for more info. 

     

    User: "tinh"
    Altair Community Member
    Updated by tinh

    Hello again
     

    I never undertood when experts like you dont want to answer questions. Is it that the question is too hard to answer or too dumb?

    Or is it such a secret that you don't want to reveal it?

    Sometimes a simple answer like 'NO we cant do that' is sufficient and it is confusing to see no reply.

     

    Anyways you guys provided help till now so thanks for that. I will surely find myself answer for this soon.

     

     

    I don't have an answer but I will not say no we can't do because someone else could have right answer, just he is busy. ^_^/emoticons/default_happy.png' srcset='/emoticons/happy@2x.png 2x' title='^_^' width='20' />

    User: "Guy01"
    Altair Community Member
    OP
    Updated by Guy01

    Hi Livil Lyle

     

    Thanks for the code, that helped.

    Below code to do a 'isolate only' operation by commands. I tried this today and it works!

     

     

    image.png.823145cf6867d801818c68f3d140fca0.png