# Synopsis

PDX_MSGT mda_SetBackPtrs(long option, int model)

# Purpose

Set backpointers for a model.

# Description

The specified model will be traversed and backpointer information for each entity will be written. If the model was allocated without backpointers specified (see the man page for mda_GetModelDefaults), they will be enabled automatically. If backpointers were already enabled, the current backpointer information will be discarded and regenerated. Note that this function traverses each entity in the specified model and therefore requires a fair amount of overhead for very large models. If cross model pointers are used, the MDA_ALL_MODELS should be specified if backpointers are to be set across models.

# Input

## option

### MDA_ALL_MODELS

Set back pointers in all currently active models. If this option is specified the model argument is ignored.

## model

Model to set backpointers in

# Return

MDA error code