# Synopsis

PDX_MSGT picr_DensityAttribute(long option, int model, MDA_PTR orig_db_ptr, double *density, char *units, MDA_PTR *db_ptr)

# Input

## option

### PICR_VALIDATE

Validate the entity fields

### PICR_NOVALIDATE

Do not validate the entity fields

## model

PINT model for entity creation

## orig_db_ptr

The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

## density

Density value or NULL

## units

Units of density or NULL

# Output

## db_ptr

The PINT model pointer

# Return

          Low level error return
          .fi