Category Solids and parts, Object ProSolid

Function ProSolidNoteCreate


Description
Creates a note in the specified solid model. ProAnnotationShow() should be called after creating the note in order for the note to be displayed.
Replacement in Object TOOLKIT: pfcSolid::CreateNote
Synopsis
#include <ProNote.h>
ProErrorProSolidNoteCreate(
ProMdl mdl_handle
/* (In)
The owner model for the note (part or assembly).
*/
ProModelitem* p_owner_item
/* (In)
The owner of the note. If the note is to be owned by a feature, pass the feature here. If the note is to be owned by the model, pass NULL.
*/
wchar_t** p_note_text
/* (In)
The ProArray of note text lines.
*/
ProNote* note_item
/* (Out)
The new note.
*/
)
Returns
PRO_TK_NO_ERRORThe function successfully created the note.
PRO_TK_BAD_INPUTSOne or more of the input arguments are invalid.

Manual References:

  1. Fundamentals: Expandable Arrays
  2. Annotations: Annotation Features and Annotations: Creating and Deleting Notes
  3. Annotations: Annotation Features and Annotations: Creating and Deleting Notes

Sample Code References:

  1. pt_examples ( TestSetup.c )
  2. pt_userguide ( UgSolidNoteCreate.c )