Synopsis
PDX_MSGT dxcr_GroupObject(long option, MDA_PTR orig_db_ptr, char *name, char *descr, int select_flag, int num_dbps, MDA_PTR **dbps, int num_soft, MDA_PTR **soft_back_dbps, int dxf_model, MDA_PTR *dxf_db_ptr)
Purpose
Creates a DXF group.
Description
Creates a DXF group 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 group will be created.
Input
option
Options (not used)
orig_db_ptr
The database pointer of the originating entity
name
The Group name
descr
The Group description
select_flag
The selectability flag (0 == not selectable, 1 == yes)
num_dbps
The number of entities in the group
dbps
Database pointers of the entities in the group
num_soft
The number of soft back-referenced groups
soft_back_dbps
Database pointers of the soft back-referenced groups
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