Synopsis

PDX_MSGT ievm_ValidateModel(long option, int model, IEVM_VAL_RESULTS **val_results)

Purpose

Validate an IGES model.

Description

The specified model will be validated. The results of the validations will be stored in application data and the handle returned in the results argument. The returned application data consists of an IEVM_RESULT structure for each entity. The highest severity of failed validations will be stored along with an optional list of validations which failed. This function will allocate the application data but the caller is responsible for freeing it. Backpointers must be enabled for a model to processed.

Input

option

Options (see ievm_intro)

model

Model to be validated

Output

val_results

Application data containing results of validation (see ievm_intro)

Return

      IEVM_NOERR 
      IEVM_BACKPOINTERS_OFF
      IEVM_MALLOC_ERR
      General error
      .fi