Routines (alphabetical) > Routines: H > HDF Routines > HDF_VG_INSERT

# HDF_VG_INSERT

The HDF_VG_INSERT procedure adds a VData or VGroup to the contents of a VGroup in an HDF file.

## Syntax

HDF_VG_INSERT, VGroup, VData [, POSITION=variable]

## Arguments

### VGroup

The VGroup handle returned by a previous call to HDF_VG_ATTACH.

### VData

The VData (or VGroup) handle returned by HDF_VD_ATTACH (HDF_VG_ATTACH).

## Keywords

### POSITION

Set this keyword to return the current position of the element (VData or VGroup, respectively) within the existing data group.

## Version History

4.0 | Introduced