Function ProMdlNoteVisit
Description
Calls the specified filter and action functions for each note in the model.
Synopsis
#include <ProNote.h>
ProMdlNoteVisit
(
ProMdl mdl_handle
/* (In)
The model (PRO_PART or PRO_ASSEMBLY).
*/
/* (In)
The action to perform on each note. See ProMdlNoteVisitAction for prototype and return values.
*/
/* (In)
The filter function. If NULL, all notes are visited using the action function. See ProMdlNoteFilterAction for prototype and return values.
*/
ProAppData app_data
/* (In)
The application data passed to the visiting and filter functions.
*/
)
Returns
The function successfully visited all the notes.
One or more inputs was invalid.
Visiting was stopped by the filter or visit action returning PRO_TK_GENERAL_ERROR.
There are no valid notes in the model.
Sample Code References
User Guide References
Est-ce que cela a été utile ?