Hide Table of Contents

Creating a Directional Light

The Directionallight command inserts a distant light into the drawing. Directional lights are linear, parallel lights that radiate light along a line, similar to a fluorescent light bulb. Directional light emits uniform parallel light rays in one direction only. The intensity of the light does not diminish with distance. Light rays extend infinitely on either side of the insertion point of the directional light source. Directional light is used to simulate sunlight.

To create directional lights:

  1. Type Directionallight at the command prompt.
  2. Specify the source point.
  3. Specify the destination point.
  4. Specify light source characteristics.

    See Creating a Light Source for light source characteristics.
  5. Specify the Exit option to create the light source.

    Directional light does not display in the graphics area. To view directional light settings, use the Lighting Palette.

  Executing the Light command using the Distant option does the same as the Directionallight command.


Command: Directionallight

Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

Subject:   Feedback on Help Topics
Page:   Creating a Directional Light
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:


We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again

Web Help Content Version: 2021 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.