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.

862<br />

DBEQUIV<br />

Equivalences (or copies) NDDL data blocks and parameters<br />

convert-expr Modifies the values for PROJECT, VERSION, DBSET, and qualifiers<br />

selected by the where-expr. The format of convert-expr is:<br />

PROJECT=project-expr;VERSION=version-expr;<br />

DBSET=DBsetname;quali=qual-expri[;...]<br />

For example, CONVERT (SEID=100+SEID; SPC=102).<br />

See “WHERE and CONVERT Clauses” on page 45 for a further<br />

discussion on WHERE and CONVERT clauses. The default action<br />

for VERSION and PROJECT is to convert to the current version-ID<br />

and current project-ID. But if either PROJECT or VERSION is<br />

specified in the convert-expr, then both must be specified.<br />

OVRWRT<br />

NOOVRWRT<br />

Remarks:<br />

1. The where-expr has the following rules:<br />

If the where-expr specifies a colname that is not assigned to the data block or<br />

parameter then none of that data block or parameter will be equivalenced. For<br />

example, given that SPC is not a qualifier for KGG, then the following DBEQUIV<br />

statement will not equivalence any KGG:<br />

DBEQUIV DATABLK=KGG WHERE(SPC=10) CONVERT(SPC=20) $<br />

If the where-expr does not specify a colname that is assigned to the data block (or<br />

parameter), then the current value of the qualifier is assumed. For example,<br />

given that SEID is a qualifier for KAA, then the following DBEQUIV statements<br />

are equivalent:<br />

SPC=10 $<br />

DBEQUIV DATABLK=KAA CONVERT(SPC=20) $<br />

or<br />

By default (i.e., NOOVRWRT), duplicate data blocks or parameters<br />

on the created by DBEQUIV will cause a fatal message. A duplicate<br />

means that a data block or parameter has not only the same name<br />

but also the same qualifier values, PROJECT, VERSION, and<br />

DBSET as the primary data block or parameter. If OVRWRT is<br />

specified, then the primary data block is overwritten.<br />

RESTART By default, data blocks and parameters created by DBEQUIV<br />

cannot be output again in a subsequent <strong>DMAP</strong> module. If<br />

RESTART is specified then the selected data blocks and parameters<br />

may be overwritten once.<br />

DBEQUIV DATABLK=KAA WHERE(SPC=10) CONVERT(SPC=20) $

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

Saved successfully!

Ooh no, something went wrong!