GETPARTINFO and VGETPARTINFO (obtain part instance information given global node/element number)

Interface

      CHARACTER*80 CPNAME
      ...
      CALL GETPARTINFO(INTNUM, JTYP, CPNAME, LOCNUM, JRCD)
      or
      CALL VGETPARTINFO(INTNUM, JTYP, CPNAME, LOCNUM, JRCD)

Variables to be provided to the utility routine

INTNUM

The internal (global) node or element number to be looked up.

JTYP

An integer flag indicating whether INTNUM is a node or element number. Set JTYP=0 to look up a node number, and set JTYP=1 to look up an element number.

Variables returned from the utility routine

CPNAME

The name of the part instance that contains INTNUM. An empty part instance name indicates that the node or element is at the assembly level and is not included in any part instance.

LOCNUM

The part-local node or element number corresponding to INTNUM.

JRCD

Return code (0–no error, 1–error).