Category 3D drawings and annotations, Object ProDtlsyminst

Function ProDtlsyminstDimattachGet


Description
Finds the dimension to which the symbol instance is directly attached.
Synopsis
#include <ProDtlsyminst.h>
ProErrorProDtlsyminstDimattachGet(
ProDtlsyminst* syminst
/* (In)
The symbol instance
*/
ProDimension* dim
/* (Out)
Cannot be NULL. The dimension to which the symbol instance is directly attached.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully found the dimension attachment. It is in dim
PRO_TK_BAD_INPUTSBad input arguments
PRO_TK_NOT_EXISTThe symbol instance is not placed on item to a dimension
PRO_TK_BAD_CONTEXTThe symbol instance is placed on a dim but we are unable to fill in the output structure on account of the dimension's model being missing (perhaps it was suppressed in the assembly).

Manual References:

  1. Drawings: Symbol Instance Data
  2. Drawings: Symbol Instance Data