How to toggle Show/Hide Mesh using ACT?

Vishnu
Vishnu Member, Employee Posts: 198
Name Dropper First Anniversary Solution Developer Community of Practice Member First Comment
edited June 2023 in Structures

enter image description here Toggle Mesh ON/Off

Tagged:

Best Answers

  • Vishnu
    Vishnu Member, Employee Posts: 198
    Name Dropper First Anniversary Solution Developer Community of Practice Member First Comment
    Answer ✓
    import toolbar
    toolbar.DoToggleShowMesh(ExtAPI)
    
  • Romain Lejeune
    Romain Lejeune Member, Employee Posts: 46
    First Anniversary Ansys Employee First Answer 5 Likes
    Answer ✓

    You can use the following command as well:

    ExtAPI.Graphics.ViewOptions.ShowMesh = True

    Advantage is that you can check if Mesh is display or not by getting ExtAPI.Graphics.ViewOptions.ShowMesh boolean value