Copy notes to a different window using TCL command

Yannick
Yannick Altair Community Member
edited July 2023 in Community Q&A

Hi there,

i have a hyperview session with two windows. In one window i create several notes attached to a geometry and format them using HWC commands. Now i want to copy these notes including its information (entity ID, position etc.) to the other window. I was not able to do so using HWC commands. 

Does someone have an idea how to do it?

Thank you :)

Answers

  • Michael Herve_21439
    Michael Herve_21439
    Altair Employee
    edited July 2023

    Hello Yannick,

     

    th Apply Style is not registered in hwc. Also, you can copy notes but it works only in the native window.

    So my recommendation, if possible, would be to add a loop over windows, so that the notes are created in window 1 then window 2

     

    Hope this helps,

    Michael

  • Yannick
    Yannick Altair Community Member
    edited July 2023

    Hi Michael,

    thank you for the fast reply. The notes themselves are created manually in window 1, and I'd like to save that work by automatically copying them to window 2.

    Thanks

    Yannick

  • Michael Herve_21439
    Michael Herve_21439
    Altair Employee
    edited July 2023
    Yannick said:

    Hi Michael,

    thank you for the fast reply. The notes themselves are created manually in window 1, and I'd like to save that work by automatically copying them to window 2.

    Thanks

    Yannick

    Hello Yannick,

     

    what about right click -> Apply Style? That should transpose your notes to window 2. You can choose only the entities you want to trapose, eg, only the notes

     

    Regards,

    Michael

  • Yannick
    Yannick Altair Community Member
    edited July 2023

    Hi Michael,

    thanks for the idea, I think this will work. But unfortunately it does not track the command in HWC. Do you know the TCL command to do that :)?

    Regards 

    Yannick