Synopsis

PDX_MSGT vgdx_GetGDXData(long option, MDA_PTR vda_db_ptr, int gdx_model, int *num_ptrs, MDA_PTR **gdx_db_ptrs)

Purpose

Get the GDX data (in the specified model) corresponding to a VDA entity.

Description

This routine is to convert a VDA entity to GDX. The mappings available are listed as below.

VDA entity GDX entity
CIRCLE GDX_ARC
POINT, POINT_SEQUENCE GDX_POLYLINE
CURVE GDX_SPLINE_CURVE
SURFACE GDX_SPLINE_SURFACE
FACE GDX_FACE
TOP GDX_SOLID

Input

option

Options (not used)

vda_db_ptr

The VDA entity database pointer

gdx_model

The GDX model to create the GDX entity in

Output

num_ptrs

The number of GDX entity database pointers

gdx_db_ptrs

The GDX entity database pointer

Return

      VGDX_NOERR
      VGDX_NOINDENTITY
      Low Level error return
      .fi