SanStdAnnotationUserProfileExport
Description
Export Std-Annotation Sets created in the model/drawing to a XML file giving the full file path.
Synopsis
Input arguments
Label
Use
Value Type
Value
Optional
Input arguments to initialize the model handle to be operated. If not provided, model of active window is used.
file_path
Required
wchar_t*
Full output file path ending with extension “.xml”. Writing access is required.
set_names
Optional
wchar_t*
Concatenated list of Std-Annotation Set names to be exported. Use ‘\n’ as delimiter between each identifier. These names are the auto-created identifiers, that can be found by editing a Set definition via the Configuration dialog.
Example: “std_anno_1234\nstd_anno_5678”.
If not provided, all Std-Annotation Sets will be written into the output file.
Output arguments
Label
Value Type
Value
Error information in case of return value PRO_TK_GENERAL_ERROR.
Returns
PRO_TK_NO_ERROR
The function succeeded.
PRO_TK_BAD_INPUTS
One or more input argument is invalid.
PRO_TK_E_NOT_FOUND
No Std-Annotation Sets available to be exported or none of the provided Std-Annotation Sets is contained in the model/drawing.
PRO_TK_CANT_WRITE
No writing access to provided file path.
PRO_TK_GENERAL_ERROR
Miscellaneous error. Check output argument array for further information.