Synopsis

PDX_MSGT dxfi_SetEntityHeader(long option, void *entity)

Purpose

Set the header structure in a DXF entity.

Description

This function will initialize the DXF header structure of the specified entity with the current values on the header stack. The entity must be allocated in the database (i.e. mda_AllocateEntity). The stack is initialized with default values.

Input

option

DXFI_INITCOUNTS

Initialize extended entity data count to zero and dxfsubhdr fields to default values.

entity

Pointer to entity

Return

DXFI_NOERR or error