Synopsis

PDX_MSGT gdx_AttributeAddToTable(long option, MDA_PTR gdx_attr_ptr)

Purpose

Given a Attribute, Adds its relation with native GEOM Entity to the table

Description

Updates Attribute-NativeGeomEntity table with a relation between the given attribute gdx_attr_ptr and its nativeGeomPtr. Program access the nativeGeomPtr from attribute structure and uses as the key to update the table. If a relation with nativeGeomEntity is already in the table, program will not create a new relation with the given gdx_attr_ptr. program gets the previously defined relation and updates attribute's number of native_geom_ptrs and native_geom_ptr list. Then program deletes the given gdx_attr_ptr.

Input

option

GDX_GROUP_ATTRIBUTES

Do not delete the native geometry pointers

GDX_OVERRIDE_ATTRIBUTES

If attribute already exists override it

gdx_attr_ptr

GDX Attribute Pointer

Return

      PDX_NOERR
      .fi