# Manage Custom Coordinate Systems Example (JS)

This example shows how to manage World, default, and named custom coordinate systems in a DraftSight drawing. Start DraftSight. Using the following form, select an option and fill in any associated fields. Use double values for points. Click Run Macro. Inspect 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 webpage and select Allow Blocked Content.
Get World Coordinate System
Activate default bottom custom coordinate system
Change origin of active custom coordinate system:
X: Y: Z:
Align active custom coordinate system with the following line:
Start point: X: Y: Z:
End point: X: Y: Z:
Create custom coordinate system named:
Rename:
Remove custom coordinate system named:
### Output