# Synopsis

PDX_MSGT gdx_EntitySetColor(long option, MDA_PTR gdx_ent_ptr, char *name, double red, double green, double blue)

# Purpose

Given a GDX entity, set the native color.

# Description

Get the orig_db_ptr for the specified GDX entity and find the associated attribute entity. If an attribute is not found create one, if an attribute has multiple references, remove a reference and copy the attribute, otherwise just copy the specified color into the attribute.

# Input

## option

Options (not used)

## gdx_ent_ptr

GDX entity

## name

name

## red

red

## green

green

## blue

blue

# Return

          GDX_NOERR
          .fi