VECClearLayer()

Description

VECClearLayer() is used to clear the contents of a layer without removing it entirely.

Call Signature

void VECClearLayer ( int/string filespec, int segment_num )

Return Value

void

This has no return value.

Arguments

int/string filespec:

This can either be the handle returned by DBOpen(), or the name of an open file.

int segment_num:

The vector layer (segment) number being accessed.

Remarks

This is normally used before rewriting the entire contents of the layer.

See also

GDB file functions

GDB vector file functions

© PCI Geomatics Enterprises, Inc.®, 2026. All rights reserved.