# Synopsis

PDX_MSGT step_SetFileHeaderEnts(long option, MDA_PTR filedesc_ptr, MDA_PTR filename_ptr, MDA_PTR fileschema_ptr, char *desc, char *implvl, char *name, char *author, char *org, char *preproc_ver, char *orig_sys, char *authorization, MDA_COUNT nschema, char *schema_id[])

# Purpose

Set existing STEP part 21 file header entities.

# Description

Set the fields within the three specified file header entities. Some of the attributes (fields) of these three entities are variable and should be set by the application (see the input parameters). Other attribute's values are specified by AP 203/STEP and are hard coded.

The schema_identifier within the file_schema entity will be set to the schema name of the DDF associated with the specified model. If your model was initialized with either s203_InitModelInfo or s214_InitModelInfo, the schema_identifier should be correctly set to "CONFIG_CONTROL_DESIGN" or "AUTOMOTIVE_DESIGN_CC2" respectively. The udata field in the model info structure will be concatenated to the end of the schema identifier for object versioning.

If the implementation_level is not specified (i.e. implvl set to NULL) then it will be defaulted to "2;1" which corresponds to the part 21 technical corrigendum.

# Input

## option

Options (Not used)

## filedesc_ptr

MDA pointer to the file_description entity to modify

## filename_ptr

MDA pointer to the file_name entity to modify

## fileschema_ptr

MDA pointer to the file_schema entity to modify

## desc

Attribute for file_description_entity

## implvl

Attribute for file_description entity or NULL

## name

Attribute for file_name entity

## author

Attribute for file_name entity

## org

Attribute for file_name entity

## preproc_ver

Attribute for file_name entity

## orig_sys

Attribute for file_name entity

## authorization

Attribute for file_name entity

## nschema

Number of schema ids

## schema_id

Array of schema ids (1024 character max for each)

# Return

STEP error code.