{"id":165302,"date":"2023-03-17T08:59:57","date_gmt":"2023-03-17T08:59:57","guid":{"rendered":"\/knowledge\/forums\/topic\/how-to-check-whether-an-array-parameter-is-already-existing-in-apdl-in-batch-mode\/"},"modified":"2023-07-31T12:31:00","modified_gmt":"2023-07-31T12:31:00","slug":"how-to-check-whether-an-array-parameter-is-already-existing-in-apdl-in-batch-mode","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/knowledge\/forums\/topic\/how-to-check-whether-an-array-parameter-is-already-existing-in-apdl-in-batch-mode\/","title":{"rendered":"How to check whether an array parameter is already existing in APDL in batch mode."},"content":{"rendered":"<p>You can use the following *GET command to test if a parameter name exists.  *GET,PRM_TYPE,PARM,name,TYPE     ! where &#8220;name&#8221; 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.<\/p>\n","protected":false},"template":"","class_list":["post-165302","topic","type-topic","status-publish","hentry","topic-tag-16-2","topic-tag-apdl","topic-tag-macros-scripting-upf","topic-tag-mechanical-apdl","topic-tag-structural-mechanics"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_wp_page_template":["default"],"_bbp_last_active_time":["3\/15\/2023 20:20"],"_bbp_forum_id":["27789"],"_bbp_author_ip":["23.56.168.180"],"_btv_view_count":["2499"],"siebel_km_number":["698228"],"product_version":["16.2"],"km_published_date":["2007-12-29T00:00:00.000Z"],"family":["Structural Mechanics"],"application_name":["Mechanical APDL"]},"test":"articlesansys-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/165302","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/topics\/165302\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/knowledge\/wp-json\/wp\/v2\/media?parent=165302"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}