Synopsis
PDX_MSGT gcr_Attributes(long option, MDA_PTR orig_db_ptr, int gdx_model, MDA_COUNT num_of_ptrs, MDA_PTR *native_geom_ptrs, struct t_gdx_attributes_color *color, double *tx_matrix, char *label, MDA_COUNT num_of_levels, char **level, char hierarchy, int blanked, MDA_PTR *gdx_attr_ptr)
Purpose
Create a GDX Attribute Entity.
Input
option
GCR_GROUP_ATTRIBUTES
Do not delete the native geometry pointers
GCR_OVERRIDE_ATTRIBUTES
If attribute already exists override it
orig_db_ptr
The original entities orig_db_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR
gdx_model
The GDX model for entity creation
num_of_ptrs
Number of native Geom Ptrs
native_geom_ptrs
Array of native Geom Ptrs, MDA Memory
color
Color Sturcture, physical sturcture, name should allocated using MDA memory.
tx_matrix
Transformation matrix, MDA Memory
label
Entity label or NULL, MDA Memory
num_of_levels
Number of levels or '0'
level
Array of levels, MDA Memory
hierarchy
Hierarchy info
blanked
Whether entity is blanked or not
Output
gdx_attr_ptr
Attribute Entity Pointer
Return
GCR_NOERR
GCR_INVALID_MODEL
.fi