🎉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

Default settings for Member Mesh

User: "SLadisch"
Altair Community Member

Hello,

I have a more or less simple question. Is there a possibility to define the default settings for the Memeber Mesh module? Maybe by using the hm_custom.tcl or a custom extension?

Regards

Stefan

Find more posts tagged with

Sort by:
1 - 4 of 41

    Hello @SLadisch ,

    which settings would you like to save and restore from one session to another one?

    Best Regards,

    Michael

    User: "SLadisch"
    Altair Community Member
    OP

    Hello Michael,

    The module "Member Mesh" starts in new sessions with element type BEAM and a certain mesh distance. We usually use this module to define Rod-Elements along a weld (node list). So we always need to change the settings. First from line to node list and then to ROD and "by density"

    Regards Stefan

    2025-03-26 10_19_38-Kassel-TB_2025-03-26.hm_ - Altair HyperMesh 2024.1 - OptiStruct.png

    Hello @Stefan Ladisch,

    there is no core option yet to change default preferences for member mesh.

    That said it should be pretty straightforward to create a tcl or Python script with your preferred settings.

    i just had a quick look at command.tcl , you can basically use 2 lines:

    *createlistpanel nodes 1

    *createelements1d nodes list=2 elemsize=0.045 engineeringconfig=ROD propcardimage=PROD linecomp=0 useshell=0 biasintensity=0 biasstyle=0

    Please run interactively Member size with your own settings to adjust the 2nd line above

    Regards,

    Michael

    User: "SLadisch"
    Altair Community Member
    OP

    Hello Michael,

    It's too bad that there is no possibility to define a default or that the software doesn't save the last state of the dialog as a hidden user preference. Perhaps you could suggest this to your development colleagues.

    Based on your suggestion, I created a function within our own extension, so now we can directly create ROD elements from a node selection.

    namespace eval ::ROD_Mesh {

    }
    proc ::ROD_Mesh::ROD_Mesh {} {

    *createlistpanel nodes 2 "Select nodes for the ROD-line:"
    set node_list [ hm_getlist nodes 2 ];
    if { ! [ Null node_list ] } {
    *createelements1d nodes list=2 useelemdensity=1 elemdensity=1 engineeringconfig=ROD propcardimage=PROD linecomp=0 useshell=0 biasintensity=0 biasstyle=0
    }
    }

    Regards

    Stefan