keep mesh option using script

Pandurang
Pandurang Altair Community Member
edited February 20 in Community Q&A

HI All,

 

<?xml version="1.0" encoding="UTF-8"?>blob.thumb.png.2c762aaaebf9a7d66fb1e9d6b5a870a9.png

 

how to set keep mesh option using script....

any idea or api

@Imoto

 

@tinh

Answers

  • imoto
    imoto
    Altair Employee
    edited October 2019

    Hi @Pandurang

     

    Topology revision can change with '*deleteelementsmode 0'.

     

    Thanks,

    Imoto

  • Q.Nguyen-Dai
    Q.Nguyen-Dai Altair Community Member
    edited October 2019

    '*deleteelementsmode'  is 'Deprecated Commands'

    403850909_14.0.130APIProgrammersGuide_002374.png.989b57dcc2b48427a2f04f341155a1b6.png

    So it's better to use:

     *setoption delete_elements_mode=<value>   The remesh setting for topology revision.   0 - Keep mesh   1 - Delete mesh   2 - Remesh   3 - Advanced remesh   4 - 2D + 3D (tetra) remesh

     

  • Pandurang
    Pandurang Altair Community Member
    edited October 2019
  • Subhu
    Subhu Altair Community Member
    edited February 20

    I still feel useful if the New Hyperworks  have the Keep mesh option. I am not convinced by the reason by Altair to remove this option from preferences.