# Synopsis

PDX_MSGT iges_EntityDefineColor(long option, MDA_PTR iges_db_ptr, double red_val, double green_val, double blue_val, char *name, int iges_model)

# Purpose

Defines IGES Color Attribute with the given values and its name.

# Description

Program defines IGES color value by comparing its name. If name doesn't match with the standard colors then the it defines a color attribute and add a refence to the given iges_db_ptr.

# Input

## option

Options (not used)

## iges_db_ptr

IGES entity for color definition

## red_val

red value as % of full intensity

## green_val

green value as % of full intensity

## blue_val

blue value as % of full intensity

## name

Defined color name

## iges_model

model number

# Output

## iges_db_ptr

IGES entity with new color definition

# Return

          PDX_NOERR
          .fi