OLE Objects
An object linking and embedding (OLE) object is an external file, such as a document, graphics file, or video file that is created using an external application and which can be inserted into another application, such as Creo Parametric. You can create and insert supported OLE objects into a two-dimensional Creo Parametric file, such as a drawing, report, format file, notebook, or diagram. The functions described in this section enable you to identify and access OLE objects embedded in drawings.
Methods and Properties Introduced:
The method
pfcDetailOLEObject.ApplicationType returns the type of the OLE object as a string, for example,
Microsoft Word Document.
The property
pfcDetailOLEObject.Outline returns the extent of the OLE object embedded in the drawing.
The property
pfcDetailOLEObject.Path returns the path to the external file for each OLE object, if it is linked to an external file.
The property
pfcDetailOLEObject.Sheet returns the sheet number for the OLE object.