! TITLE: get_max_entity.mac (MANAGEMENT) ! ! ! This sub-macro is used to store the maximum values of the solid and FE ! model entities. It is used ONLY for retrieving the maximum values of a ! SELECTED set of entities. It stores the maximum numerical value for ! all solid model entity types (i.e., keypoints, lines, areas and volumes) ! for a selected set of entities so that that only those selected ! entities may be operated on. ! ! *get,prkey_,active,0,prkey /nopr *get,km,kp,,num,max ! get maximum keypoint number ! *get,lm,line,,num,max ! get maximum line number ! *get,am,area,,num,max ! get maximum area number ! *get,vm,volu,,num,max ! get maximum volume number ! *get,em,elem,,num,max ! get maximum element number ! *get,nm,node,,num,max ! get maximum node number *if,prkey_,eq,1,then /go *endif