Synopsis
PDX_MSGT dxcr_Insert(long option, MDA_PTR orig_ptr, char *name, double *xyzloc, double xscale, double yscale, double zscale, double rang, int ccount, int rcount, double cspace, double rspace, int attr_flag, int num_attr, MDA_PTR block, MDA_PTR *att_inst, int dxf_model, MDA_PTR *dxf_ptr)
Purpose
Create a DXF Insert.
Description
A DXF Insert 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
name
Insert name
xyzloc
Insertion point
xscale
X-scale factor
yscale
Y-scale factor
zscale
Z-scale factor
rang
Rotational angle
ccount
Column count
rcount
Row count
cspace
Column spacing
rspace
Row spacing
attr_flag
Attributes flag
num_attr
Number of attribute instances
block
Block entity pointer
att_inst
Array of attribute instances
dxf_model
DXF model number
Output
dxf_ptr
Entity pointer of the DXF Insert
Return
DXCR_NOERR
Low level error return
.fi