# Synopsis

PDX_MSGT step_CreateMinModel(long option, int step_model, MDA_PTR *db_ptr, MDA_PTR *db2_ptr)

# Purpose

Create minimum data in specified MDA model.

# Description

Create the minimum entities in the step_model.

# Input

## option

### STEP_CREATE_PDWAD

Create a product_definition-with-associated-document entity instead of a product_definition entity (which is the default).

### STEP_CREATE_PRDFSH

Create the product_definition_shape entity. This entity points to the product_definition entity (or PDWAD). This entity should only be created if geometry will be added later.

## step_model

MDA model where STEP entities are to be created.

# Output

## db_ptr

Database pointer of created product_definition, product_definition_with_associated_document, or product_definition_shape entity depending on the option.

## db2_ptr

Database pointer of created product.

# Return

STEP error code