Documentação da API > Drawings and detail > Object ProDrawing > Function ProDrawingDtlnotesCollect
Function ProDrawingDtlnotesCollect
Description
Collect notes in the specified drawing.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDtlnote.h>
ProDrawingDtlnotesCollect
(
ProDrawing drawing
/* (In)
The drawing handle.
*/
ProDtlsymdef* symbol
/* (In)
If you are collecting a note from the drawing, set the symbol to NULL. If you are collecting a note from a symbol definition, set the symbol to be that symbol definition.
*/
int sheet
/* (In)
The sheet number. Set to PRO_VALUE_UNUSED for current sheet.
*/
ProDtlnote** notes
/* (Out)
The ProArray of notes. The function allocates memory for array. User must release memory by ProArrayFree.
*/
)
Returns
The function successfully collected the notes.
One or more arguments was invalid.
The function failed.
The function found too many entities to be contained in the output ProArray. Use ProDrawingDtlnoteVisit instead.
No notes were found.
Sample Code References
User Guide References
Isto foi útil?