Jump to content

Recommended Posts

Hey guys,

 

I'm writing a script, where I can set a value (e.g. for the Young's Modulus) for a material property.

My problem is that I would like to have  a default value in the window, like 210000 MPa, which I can take and proceed or change it if it doesn't suit my material. Is it somehow possible to set such a default value?

 

Kind regards and thanks in advance

Simon

 

Attached you can find the part of my script and a screenshot of the window I'm talking about:

*startnotehistorystate {Modified E of material}
set youngs_modulus [hm_getfloat "Youngs Modulus (Steel)=" "Enter Youngs Modulus:"]
*setvalue mats id=1 STATUS=1 1= $youngs_modulus
*endnotehistorystate {Modified E of material}

 

Default_Value.PNG.61873b4ad688a3e6c30258f6cc548a3c.PNG

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...