Synopsis

PDX_MSGT s214_GetExtFileRef(long option, MDA_PTR shprpr_ptr, MDA_PTR prddfn_ptr, char **ext_file)

Purpose

Get external file reference.

Description

Get an external file reference conforming to the PDM schema usage guide (this is only valid for AP214 since some of the entities do not exist in AP203). The external file reference (ext_file) attached to the shape representation (shprpr_ptr) will be returned. If not found on the shape representation, the product definition will be used to get the external file reference. If not found on either, NULL will be returned for the external file.

Input

option

Not used

shprpr_ptr

Database pointer of the shape representation entity

prddfn_ptr

Database pointer of the product definition entity

Output

ext_file

External file reference or NULL if not found.

Return

S214_NOERR or error