Synopsis
PDX_MSGT dxcr_Line(long option, MDA_PTR orig_db_ptr, MTH_3DPNT start, MTH_3DPNT end, double normal[3], double thickness, int dxf_model, MDA_PTR *dxf_db_ptr)
Purpose
Creates a DXF line.
Description
Creates a DXF line entity in the specified model based on data provided. The data provided must result in a valid definition.
The orig_db_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. If thickness is nonzero, the extruded form of the line will be created.
Input
option
Options (not used)
orig_db_ptr
The database pointer of the originating entity
start
The XYZ location of the starting point
end
The XYZ location of the ending point
normal
Normal vector
thickness
Entity thickness (normal distance)
dxf_model
The model for creating the DXF entity or entities
Output
dxf_db_ptr
The database pointer of the resulting DXF entity
Return
DXCR_NOERR
Low level error return
.fi