# Synopsis

(macro) void dxfi_SetFileType(int model, int type)

# Purpose

Set current DXF model type for formatting.

# Description

The specified model will be set for the given DXF type. Subsequent formatting of this DXF model will result in either an ASCII DXF file (if type = PDX_DXF_ASCII) or a DWG file (if type = PDX_DWG). By default, DXF models will be formatted as DXF ASCII if this macro is never called.

# Input

## model

The DXF model

## type

The type of file that should be formatted when mda_FormatFile is called for this model. The compatible types can be either PDX_DXF_ASCII or PDX_DWG.