Working with Object, Linking and Embedding - Intergraph Smart 3D - Help - Hexagon

SmartSketch Drawing Editor Help

Language
English
Product
Intergraph Smart 3D
Subproduct
SmartSketch Drawing Editor
Search by Category
Help
Smart 3D Version
13
SmartSketch Version
11

SmartSketch Drawing Editor supports Object Linking and Embedding (OLE) to provide a flexible and efficient means of inserting and working with external objects. An object is data created in another application and inserted in a SmartSketch Drawing Editor drawing. Part of the power OLE provides is the ability to update objects automatically if they've been modified in their source document, or edit objects in place.

SmartSketch Drawing Editor is fully compatible with OLE-compliant software, such as Microsoft Office. You can transfer text, numbers, sound bites, or intelligent graphics between documents that were created with SmartSketch Drawing Editor and other Microsoft Office applications. For example, you can use Microsoft Word to create a materials report and then display the report in your SmartSketch Drawing Editor document. You can also link a Microsoft Excel spreadsheet to the Variable Table in a SmartSketch Drawing Editor document. You can then use the value in the spreadsheet to control the dimensions in the SmartSketch Drawing Editor drawing. You can even create a document that contains a drawing created by SmartSketch Drawing Editor, notes from Microsoft Word, a spreadsheet created by Excel, and an image created in Photoshop.

You can insert objects into your SmartSketch Drawing Editor drawings using any of the following methods:

  • Linking

  • Embedding

  • Cutting/Copying-and-Pasting

SmartFrames

Any time a data file is inserted as embedded or linked, or pasted into SmartSketch Drawing Editor, a SmartFrame is created containing the object. A SmartFrame usually appears as a rectangular outline in a document file, but it can also have other boundary type shapes (elliptical, for example).

SmartFrames provide ways for these objects to be manipulated, including moving, scaling, rotating, mirroring, and cropping. SmartFrames also contain properties for defining borders, styles and placement options. You can access these properties via the SmartFrames Properties dialog box.

Linking

Linking takes data that's stored in one location (referred to as the source document) and places a reference to it in another location (referred to as the destination document). Linking allows you to use consistently updated versions of an object in multiple SmartSketch Drawing Editor drawings. You can edit the linked object only by opening the source document and making your changes there. When you change the original data, the linked data automatically updates. You can link an object in a SmartSketch Drawing Editor drawing by inserting the information with Object on the Insert menu.

Relative Paths for Linked Objects

Linked objects placed in a SmartSketch Drawing Editor drawing are saved as relative links. You can think of a relative link as being a "child" of the SmartSketch Drawing Editor drawing in which it is inserted. A relative link points to the location of the linked file in relation to the "parent" drawing. For example, a link to Building\Doors\door1.igr points to a file called door1.igr, which is located in the Building/Doors subfolder inside the folder in which the parent drawing is located. The use of relative links in your SmartSketch Drawing Editor projects enables you to create drawings that are portable, meaning you can copy or move an entire folder structure to another location without updating the file paths.

The parent drawing must already exist as a saved file prior to inserting the linked object; otherwise, there is no "relative" location.

Embedding

Embedding takes data from the source document and stores a copy of the information in the destination document. The copy becomes an independent version of the original information. Although editing the data in the original application has no effect on the copied version, you can edit the embedded object in-place from within the SmartSketch Drawing Editor drawing. You can embed an object inside a SmartSketch Drawing Editor drawing by inserting the information with Object on the Insert menu.

Linking and Embedding with Copy/Cut-and-Paste

You're not limited to using the SmartSketch Drawing Editor Insert menu to link or embed files. You can move information between documents or between locations using Cut, Copy, and Paste on the Edit menu in any OLE-compliant software.

You can also move information between SmartSketch Drawing Editor and other software by selecting the information in a document or a document in the Windows Explorer and dragging it to another location or another document. With this method, you simply select the information that you want to move, press the left mouse button, and drag the document to a location inside SmartSketch Drawing Editor or another Office application. To finish the operation, release the left mouse button.

If you want to copy the information, and not move it, press Alt while dragging the object.

When you drop the information, a shortcut menu appears beside the pointer. The options on the shortcut menu allow you to select how you want to place the information in the destination document, such as pasting, linking, and so forth.

If the software that you are copying or pasting to cannot edit the information, it will automatically store, or embed, the information in the document. You can then edit the embedded information with the software that created it. If you cannot edit the information, the information is displayed as a static picture.

When Do I Link or Embed?

Choosing whether to link or embed depends, in large part, on how you intend to use your SmartSketch Drawing Editor drawing. Linking is useful when you want to share information in many different places and have that information update automatically. For example, if you want to display a SmartSketch Drawing Editor drawing in several different documents, you can link the drawing inside each document. Then, later, when you edit the drawing, each document automatically displays the results of the drawing updates. Another consideration is file size. Because linking only adds a reference to a file, the data does not significantly increase the size of the SmartSketch Drawing Editor drawing. If you want to keep the document's size small, considering linking the data.

If you place dimensions or constraints to items located within a reference file, it is recommended that you do not manipulate those items in the reference file without first deleting the dimension or constraint in the Master file. Such manipulations could cause problems in the Master file.

If the document's size is not an important factor, then you might want to use embedding. Because an embedded object becomes part of the SmartSketch Drawing Editor drawing, it will increase the file size. Embedding is also useful when you want to keep your data in one file, or if you want to distribute the data among several people who may not have access to the source application. For example, if you want to send out several drawings for review, you can embed your drawing document into a Word document and mail the Word document to each reviewer.

Embedding information is also a good choice if the information does not require frequent updating.

If you want to embed an object or edit an embedded object, you must have access to the software that created it.

See Also

How Linking Works
How Embedding Works
Change the Source for a Linked Object
Edit an Embedded Object with the Source Software
Embed an Object
Link an Object