Category Drawings and detail, Object ProDtlsymdef

Function ProDtlsymdefCreate


Description
Create a symbol definition in the specified model.
Replacement in Object TOOLKIT: pfcDetailItemOwner::CreateDetailItem
pfcDetailSymbolDefItem::CreateDetailItem
Synopsis
#include <ProDtlsymdef.h>
ProErrorProDtlsymdefCreate(
ProMdl model
/* (In)
The model handle.
*/
ProDtlsymdefdata data
/* (In)
The symbol definition data.
*/
ProDtlsymdef* symdef
/* (Out)
Created symbol definition.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the symbol definition.
PRO_TK_BAD_INPUTSBad one or more input arguments.
PRO_TK_GENERAL_ERRORCan't create the symbol definition.

Manual References:

  1. Drawings: Creating, Modifying and Reading Detail Items
  2. Drawings: Symbol Definition Data
  3. Drawings: Creating a Symbol Definition

Sample Code References:

  1. pt_examples ( TestSymDefMenu.c )
  2. pt_userguide ( UgDtlsymdefExamples.c )