Synopsis
PDX_MSGT sgdx_GDXAttrToEntity(long option, MDA_PTR gdx_attr_ptr, MDA_PTR step_db_ptr, MDA_PTR *styitm_ptr)
Purpose
Given a native attribute, Define color, layer and lable.
Description
Given a native attribute entity gdx_attr_ptr, Define color, layer and lable for step_db_ptr entity. Program creates a STYLED_ITEM if color is defined in the native attribute entity. Program gets the defined layers from the given gdx_attr_ptr attribute entity and stores layer names and attach entity to the list. Program copies Lable from GDX attribute entity to STEP entity.
Input
option
Options (not used)
gdx_attr_ptr
GDX attribute entity MDA pointer
step_db_ptr
STEP entity MDA pointer
Output
styitm_ptr
STYLED_ITEM entity MDA pointer
Return
SGDX_INVALID_MODEL
SGDX_MALLOC_ERR
PDX_NOERR
.fi