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 file path of the User Profile ending with extension “.xml”. Reading access is required.
|
placement |
Optional
|
wchar_t*
|
Concatenated list of Std-Annotation Set names combined with the placement information that defines wherein to create the Set.
The Std-Annotation Set names are the auto-created identifiers, that can be found by editing a Set definition via the Configuration
dialog.
Value format: <Set identifier>|<placement data>\n<Set identifier>|<placement data>\n<Set identifier>|<placement data>...
Use ‘\n’ as delimiter to separate the various Std-Annotation Sets and their placement data.
The Std-Annotation Set identifiers have to be separated from the placement data by a ‘|’.
Refer to the chapter Placement Patterns on how to build the rule string that defines to which drawing sheets (2D) or rather combined states (3D) an imported Std-Annotation
Set shall be assigned.
Model type dependent examples:
If no placement information is provided for a Set, then the default settings from the configuration are used.
If a Set is imported that has already been created in the drawing/model, then the provided placement data is ignored to maintain
the existing placement.
|
Label
|
Value Type
|
Value
|
---|---|---|
—
|
Error information in case of return value PRO_TK_GENERAL_ERROR.
|
PRO_TK_NO_ERROR
|
The function succeeded.
|
PRO_TK_BAD_INPUTS
|
One or more input argument is invalid.
|
PRO_TK_E_NOT_FOUND
|
One or more Std-Annotation Sets contained in the User Profile was not found within the configuration.
|
PRO_TK_CANT_ACCESS
|
No reading access to provided file path.
|
PRO_TK_GENERAL_ERROR
|
Miscellaneous error. Check output argument array for further information.
|