Documentación de la API > Solids and parts > Object ProSolid > Function ProSolidDtlsymdefRetrieve
Function ProSolidDtlsymdefRetrieve
Description
Retrieve a symbol definition.
Replacement in Object TOOLKIT:
Licensing Requirement
Synopsis
#include <ProDtlsymdef.h>
ProSolidDtlsymdefRetrieve
(
ProSolid solid
/* (In)
The solid model handle.
*/
/* (In)
The location to search for the symbol definition file.
*/
ProPath filepath
/* (In)
The path to the file with a symbol definition. If this is NULL, then the symbol definition is located in the designated directory.
*/
ProName filename
/* (In)
The name of the symbol definition file.
*/
int version
/* (In)
The version of the symbol definition file. Pass PRO_VALUE_UNUSED to get the latest version.
*/
ProBoolean update
/* (In)
Update flag. PRO_B_TRUE- Update the existing symbol definition unconditionally. BRO_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
¿Fue esto útil?