# Synopsis

PDX_MSGT iges_AddAssocPtr(long option, MDA_PTR db_ptr, long nptrs, MDA_PTR *assoc_ptrs)

# Purpose

Add a list of associativity pointers to an entity.

# Description

This function adds the list of associativity pointers to the specified entity. The nptrs parameter defines the number of pointers in assoc_ptrs. These pointers will be appended to the list of associativity pointers for db_ptr. If the nbps field in db_ptr is 0 then memory will be allocated via mda_Malloc to hold the list of property pointers. If the nbps field is != 0 then the space for the list will be expanded using mda_Realloc. Because of this, the caller must initialize the npps field to 0 before calling the function the first time.

# Input

## option

Options (not used)

## db_ptr

Database pointer of entity to add associativities to

## nptrs

Number pointers in assoc_ptrs array

## assoc_ptrs

Array of associativity pointers to be added

# Return

IGES error code