Synopsis

PDX_MSGT dxcr_3DSolid(long option, MDA_PTR orig_db_ptr, char (*text)[DXF_LINE_BUFF_SIZE], MDA_COUNT numline, double *xyzloc, int dxf_model, MDA_PTR *dxf_db_ptr)

Purpose

Creates a DXF 3D Solid.

Description

A DXF 3D solid entity is created in the specified model based on the 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.

Input

option

Options (not used)

orig_db_ptr

The database pointer of the originating entity

text

The proprietary data (ACIS .sat format) which defines the 3D solid

numline

The number of lines of text

xyzloc

Pointer to memory containing the xyz coordinates for the location of the solid.

dxf_model

The model for creating the DXF entity

Output

dxf_db_ptr

The database pointer of the resulting DXF entity

Return

      DXCR_NOERR
      Low level error return
      .fi