How to check whether an array parameter is already in existence by APDL? We can achieve this by GUI; however, we need to check it in batch mode. If the array is already in existence, we don't need to define it again.


You can use the following *GET command to test if a parameter name exists.

*GET,PRM_TYPE,PARM,name,TYPE ! where "name" is the parameter name

It will return -1 if name is undefined or 0 if scalar, 1 if array, 2 if table,
3 if character scalar, and 4 if character array.





Show Form
No comments yet. Be the first to add a comment!