# Synopsis

PDX_MSGT dxcr_Block(long option, MDA_PTR orig_ptr, int bflag, char *bname, char *bname2, char *description, double *xyzloc, char *xref, int num_ent, int num_attr, MDA_PTR *ent_ptr, MDA_PTR *att_def, int dxf_model, MDA_PTR *dxf_ptr)

# Purpose

Create a DXF Block.

# Description

A DXF Block entity is created for the given data.

The orig_ptr argument should contain the database pointer of the entity that the new entity was created from (usually this should be obtained by the calling routine via mda_GetOrigDbptr) or MDA_NULL_PTR. See the mda_intro man page for more information about predecessor entities.

# Input

## option

Options (not used)

## orig_ptr

The original entities orig_ptr as obtained from the mda_GetOrigDbptr call, or MDA_NULL_PTR

## bflag

Type flag

## bname

Block name

## bname2

Block name

## description

Description

## xyzloc

Base point

## xref

Cross reference path

## num_ent

Number of constituent entities

## num_attr

Number of attributes

## ent_ptr

Array of entities

## att_def

Array of sttributes

## dxf_model

DXF model number

# Output

## dxf_ptr

Entity pointer of the DXF Block

# Return

          DXCR_NOERR
          Low level error return
          .fi