Documentazione API > Drawings and detail > Object ProDtlnote > Function ProDtlnoteDataGet
Function ProDtlnoteDataGet
Description
Gets a note data for the specified note. The function allocates memory; user must release this memory with ProDtlnotedataFree
Replacement in Object TOOLKIT:
Synopsis
#include <ProDtlnote.h>
ProDtlnoteDataGet
(
/* (In)
The note.
*/
ProDtlsymdef* symbol
/* (In)
If you are getting a note from the drawing, set the symbol to NULL. If you are getting a note from a symbol definition, set the symbol to be that symbol definition.
*/
/* (In)
The display mode.
Note:Creo Parametric does not resolve and replace symbolic callouts for notes, which are not displayed. Therefore, for the value PRODISPMODE_NUMERIC, if the note is not displayed or is hidden in a layer, the text retrieved may contain the symbolic callouts.
*/
ProDtlnotedata* notedata
/* (Out)
The note data. Free the data using ProDtlnotedataFree.
*/
)
Returns
The function successfully retrieved the note data.
One or more arguments was invalid.
The function failed.
Sample Code References
User Guide References
È stato utile?