Category Drawings and detail, Object ProDtlnote

Function ProDtlnoteModelrefGet


Description
To provide the model to which parameterized text in a detail note refers.
Replacement in Object TOOLKIT: pfcDetailNoteItem::GetModelReference
Synopsis
#include <ProDtlnote.h>
ProErrorProDtlnoteModelrefGet(
ProDtlnote* note
/* (In)
The note
*/
ProDtlsyminst* symbol_inst
/* (In)
Symbol instance whose definition contains the note. Set to NULL if the note does not belong to a symbol.
*/
int line_index
/* (In)
The index into the note's line array of the line containing the parameterized text.
*/
int text_index
/* (In)
The index into the line's text array of the text item containing the parameterized text.
*/
ProMdl* model
/* (Out)
The model which contains the parameters the parameterized text refers to.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully found the model.
PRO_TK_BAD_INPUTSOne or more arguments was invalid.

Manual References:

  1. Drawings: Parameterized Note Text

Sample Code References:

  1. pt_examples ( TestDtlnote.c )