# Synopsis

PDX_MSGT vgdx_GetVDAFSData(long option, MDA_PTR gdx_db_ptr, int vda_model, int *num_ptrs, MDA_PTR **vda_db_ptrs)

# Purpose

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

# Description

This routine is to convert a GDX entity to VDA. Only spline based entities can be processed. A non-spline based entity needs to be converted into spline based in GDX before calling this routine. The mappings available are listed as below.

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

# Input

## option

Options (not used)

## gdx_db_ptr

The GDX entity database pointer

## vda_model

The VDA model to create the VDA entity in

# Output

## num_ptrs

The number of VDA entity database pointers

## vda_db_ptrs

The VDA entity database pointer

# Return

          VGDX_NOERR
          VGDX_NOINDENTITY
          Low Level error return
          .fi