Category Drawings and detail, Object ProDrawing

Function ProDrawingOLEobjectPathGet


Description
Returns the path to the file which is referenced by the OLE object.
Replacement in Object TOOLKIT: pfcDetailOLEObject::Path
Synopsis
#include <ProDrawing.h>
ProErrorProDrawingOLEobjectPathGet(
ProModelitem* ole_object
/* (In)
The OLE object.
*/
ProPath path
/* (Out)
The path to the external file.
*/
)
Returns
PRO_TK_NO_ERRORThe function succeeded.
PRO_TK_BAD_INPUTSOne or more input arguments was invalid.
PRO_TK_E_NOT_FOUNDThe object refers to a fully embedded object and not an external file.

Manual References:

  1. Drawings: Accessing OLE Objects