# Synopsis

PDX_MSGT iges_AddPropPtr(long option, MDA_PTR db_ptr, long nptrs, MDA_PTR *prop_ptrs)

# Purpose

Add a list of property pointers to an entity.

# Description

This function adds the list of property pointers to the specified entity. The nptrs parameter defines the number of pointers in prop_ptrs. These pointers will be appended to the list of property pointers for db_ptr. If the npps field in db_ptr is 0 then memory will be allocated via mda_Malloc to hold the list of property pointers. If the npps 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. Note that no checking is performed to make sure that the entities in prop_ptrs are actually 406:* type entities.

# Input

## option

Options (not used)

## db_ptr

Database pointer of entity to add properties to

## nptrs

Number pointers in prop_ptrs array

## prop_ptrs

Array of property pointers to be added

# Return

IGES error code