A program to recognize and reward our most engaged community members
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
Hello @SLadisch ,
which settings would you like to save and restore from one session to another one?
Best Regards,
Michael
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
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,
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 } }