Insert Shapes Example (JS)

# Insert Shapes Example (JavaScript)

This example loads a shape file and inserts shapes in the drawing. Start DraftSight. Click Load and Insert to load a shape file and insert shapes in the drawing. LTypeShp.shx is loaded, and the shapes within this file are inserted at the origin of the drawing at a 30 obliquing angle. Examine the drawing. 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, allow blocked content.
### Output