How to toggle Show/Hide Mesh using ACT?

Vishnu
Vishnu Member, Employee Posts: 222
100 Comments 100 Likes Second Anniversary Name Dropper
✭✭✭✭
edited June 2023 in Structures

enter image description here Toggle Mesh ON/Off

Tagged:

Best Answers

  • Vishnu
    Vishnu Member, Employee Posts: 222
    100 Comments 100 Likes Second Anniversary Name Dropper
    ✭✭✭✭
    Answer ✓
    import toolbar
    toolbar.DoToggleShowMesh(ExtAPI)
    
  • Romain Lejeune
    Romain Lejeune Member, Employee Posts: 51
    Second Anniversary 5 Answers 25 Likes 10 Comments
    ✭✭✭✭
    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