Category 3D drawings and annotations, Object ProDtlsyminst

Function ProDtlsyminstCreate


Description
Create a symbol instance in the specified model. ProAnnotationShow() should be called after creating the instance in order for the instance to be displayed.
Replacement in Object TOOLKIT: pfcDetailItemOwner::CreateDetailItem
pfcDetailSymbolDefItem::CreateDetailItem
Synopsis
#include <ProDtlsyminst.h>
ProErrorProDtlsyminstCreate(
ProMdl model
/* (In)
The model handle.
*/
ProDtlsyminstdata data
/* (In)
The symbol instance data.
*/
ProDtlsyminst* syminst
/* (Out)
Created symbol instance
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the symbol instance.
PRO_TK_BAD_INPUTSBad one or more input arguments.
PRO_TK_GENERAL_ERRORCan't create the symbol instance.

Manual References:

  1. Drawings: Creating, Modifying and Reading Detail Items
  2. Annotations: Annotation Features and Annotations: Creating, Reading and Modifying 3D Symbols
  3. Annotations: Annotation Features and Annotations: Creating, Reading and Modifying 3D Symbols

Sample Code References:

  1. pt_examples ( TestDtlsyminst.c )
  2. pt_userguide ( UgDtlsyminstExamples.c )