11.01.2013 Views

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

NX Nastran DMAP Programmer's Guide - Kxcad.net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1293<br />

PARAML<br />

Sets parameters from a data block<br />

Option P1 = ‘NAME’<br />

Return the name and purge status of a data block.<br />

Format:<br />

PARAML /DBNAME/'NAME'////S,N,NODB//S,N,NAME $<br />

Input Data Block:<br />

None.<br />

Output Data Block:<br />

DBNAME Any data block.<br />

Parameters:<br />

NODB Output-integer. Set to -1 if the data block is purged.<br />

NAME Output-character. Name of the data block. Set to blank if data block is<br />

purged.<br />

Remarks:<br />

1. This option is useful for checking to see if the data block is purged on the CALL<br />

statement(s) in the calling sub<strong>DMAP</strong>(s).<br />

2. If DBNAME is specified on the SUB<strong>DMAP</strong> statement, then NAME is the name<br />

appearing on the corresponding CALL statement. This process is repeated until<br />

the DBNAME no longer appears on a SUB<strong>DMAP</strong> statement.<br />

Example:<br />

Check the name and purge status of the MAA matrix.<br />

PARAML /MAA/'NAME'////S,N,NOMAA//S,N,MAANAM $<br />

Option P1 = ‘NULL’<br />

Test for a null matrix.<br />

Format:<br />

PARAML MAT//'NULL'////S,N,NULLMAT $<br />

Input Data Block:<br />

MAT Any matrix.<br />

Parameter:<br />

NULLMAT Output-integer. Set to -1 if matrix is null.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!