# Synopsis

PDX_MSGT s041_GetShapes(long option, int step_model, MDA_COUNT *nshprpr, MDA_PTR **shprpr_ptr, MDA_PTR **prddfn_ptr)

# Purpose

Get the shapes.

# Description

Traverse the specified step model to find all the product definitions and the corresponding shape representations.

# Input

## option

### S041_PRDDFN_ONLY

Don't get the shapes

## step_model

STEP model to traverse

# Output

## nshprpr

Number of shape representations

## shprpr_ptr

Allocated array of shape representation data base pointers.

## prddfn_ptr

Allocated array of product definition data base pointers.

# Return

S041 error code