Insert Embedded Object Example (JS)

# Insert Embedded Object Example (JavaScript)

Embeds a file object in a DraftSight drawing. Start DraftSight. Using the following form: Type the full path and name of the file to embed in the drawing. Click Run Macro. Inspect the drawing and the Output. NOTES: Errors are printed to Output. To recreate this example: Right-click the topic and select to view the source. Save the file as an HTML file. Open the HTML file in your web browser. If using Windows Internet Explorer and running scripts is blocked, click the Information bar near the top of the web page and select Allow Blocked Content.
File to embed:
### Output