API Documentation > Drawings and detail > Object ProDrawing > Function ProDrawingSystemDtlsymdefRetrieve
Function ProDrawingSystemDtlsymdefRetrieve
Description
Retrieve a symbol definition from the system symbol directory to the specified drawing.
Replacement in Object TOOLKIT:
Synopsis
#include <ProDtlsymdef.h>
ProDrawingSystemDtlsymdefRetrieve
(
ProMdl model
/* (In)
The drawing handle.
*/
ProPath filepath
/* (In)
The path to the file with a symbol definition. This path is a relative path to the user symbol directory which is defined as either the value of the configuration option 'pro_symbol_dir' or the Creo Parametric working directory if 'pro_symbol_dir' is not set.
*/
ProName filename
/* (In)
The name of the symbol definition file.
*/
int version
/* (In)
The version of the symbol definition file. Use PRO_VALUE_UNUSED to retrieve the latest version of the symbol definition file.
*/
ProBoolean update
/* (In)
Update flag. PRO_B_TRUE- Update the existing symbol definition unconditionally. PRO_B_FALSE- Do not load new definition if the same symbol exist in the drawing.
*/
ProDtlsymdef* symdef
/* (Out)
Retrieved symbol definition.
*/
)
Returns
The function successfully retrieved the symbol definition.
Bad one or more input arguments.
Can't retrieve the symbol definition.
The specified symbol does not exist.
The specified symbol exist but was not retrieved.
User Guide References
Was this helpful?