Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding max material number 1

Status
Not open for further replies.

ScottMf

Mechanical
Aug 5, 2004
16
0
0
US
I am writing several macros that I can use on multiple different models and would like to determine the maximum real number, element type number, and material number, I am using *get,param,ETYP,,NUM,MAX to get the max et#, *GET,param,RCON,,NUM,MAX to get the max real#, but have found no equivalent command to find the max material number that is defined. Is there an easy way to find this?

Thanks,
Scott
 
Replies continue below

Recommended for you

! ----------------------------
fini
/prep7
*set,last_mp
*GET,last_mp,MAT,0, NUM, MAX
*stat
! ----------------------------

Cheers,

-- drej --
 
Status
Not open for further replies.
Back
Top