Jump to content
Ajinkya Gaikwad

Get unique material List,optimize material list

Recommended Posts

Depends on user profile

With optistruct profile, filter mats by attributes named: E, Nu, Rho

Example we will filter mats have below E NU RHO:

 

 

set E 210.0

set NU 0.3

set RHO 7.9e-6

*createmark mats 1 "equal to value" \$E $E

*createmark mats 2 "equal to value" \$Nu $NU

*markintersection mats 1 mats 2

*createmark mats 2 "equal to value" \$Rho $RHO

*markintersection mats 1 mats 2

puts "material list = [hm_getmark mats 1]"

 

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...