Insert Splines Example (JavaScript)

This example constructs several Splines, which are displayed as the Dassault Systèmes logo in a DraftSight drawing.
  1. Start DraftSight.
  2. Using the following form, specify where to place the logo:
    1. Select Center point coordinates.
    2. Type x, y, and z coordinates.
    3. Click Insert.
      • - or -
    1. Select Center point in drawing.
    2. Click Insert.
    3. Click anywhere in the drawing to insert the logo at that point.
  3. Examine the drawing.
  4. Click View > Zoom > Fit to better see the logo.

NOTES:

  • The coordinates are printed to Output. Errors are also printed to Output.
  • To recreate this example:
  1. Right-click the topic and select to view the source.
  2. Save the file as an HTML file.
  3. Open the HTML file in your web browser.
  4. If using Windows Internet Explorer and running scripts is blocked, click the Information bar near the top of the webpage and select Allow Blocked Content.

Center point coordinates     
    X: Y: Z:

 

Center point in drawing

 

Output