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.

DBVIEW<br />

DBVIEW<br />

Creates virtual data block (or view) from one or more data blocks<br />

Creates virtual data block (or view) from one or more data<br />

blocks<br />

Format:<br />

DBVIEW view-name = data-block<br />

Describers:<br />

WHERE (where-expr)<br />

(WHERE where-expr)<br />

$<br />

view-name Name of the view; 1 through 8 characters in length. The first character<br />

must be alphabetic. The following characters can be used for<br />

view-names: A through Z and 0 through 9.<br />

data-block Name of a data block.<br />

where-expr A logical expression that specifies the desired values of qualifiers,<br />

PROJECT, PROJNO, VERSION, and DBSET. For example,<br />

WHERE(VERSION=4 AND SEID< >2 AND SEID>0) selects all items<br />

under version 4 for all values of SEID greater than 0 except 2. See<br />

“WHERE and CONVERT Clauses” on page 45 and Remark 6.<br />

Remarks:<br />

1. DBVIEW is a nonexecutable statement defined only at compilation. It is not<br />

affected by IF ( ) THEN or DO WHILE blocks. Where-expr, however, is evaluated<br />

dynamically for the current values of data-block qualifiers at the module where<br />

view-name is specified for input.<br />

2. DBVIEW must be specified prior to the first occurrence of the use of the<br />

view-name. It may only be specified as an input data block to a <strong>DMAP</strong> module.<br />

3. If the data-block is “not generated” or if no data blocks satisfy the where-expr,<br />

then the view-name will be considered as “not generated.” Also, if the<br />

where-expr contains a qualifier that is not in the path of the data-block then the<br />

view-name is not generated.<br />

4. view-name is recognized only in the current sub<strong>DMAP</strong>.<br />

5. A view-name that results in more than one data block is also called a family. If a<br />

family is specified as input to a module that does not use families, then the first<br />

data block stored will be the one that is used.<br />

6. The values assigned to qualifiers not specified in the where-expr are taken from<br />

current values. “AND WILDCARD” may be specified in the where-expr to<br />

indicate that unspecified qualifiers do not have to match their current values to<br />

satisfy the DBVIEW statement.<br />

7. A comma may be used in place of the spaces shown under Format to continue the<br />

DBVIEW statement on more than one line. For example,<br />

871

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

Saved successfully!

Ooh no, something went wrong!