Ray in AutoCAD
Ray
The ray command in AutoCAD is used to create a line that starts from a point and continues to extend to infinity in one direction, as shown below:
It is used as a reference to create other objects.
The steps to create a ray are listed below:
- We need to click on the RayIcon to draw the ray.
Or
Type Ray in the command line and press Enter. - Specify the starting point and the through point to draw the ray.
The ray is extended in the direction specified by the starting point to the directed or through point. It is shown in the below image:
- Continue to click by specifying the points to draw more rays.
- Press Enter or Esc to exit.
Similarly, we can specify the ray in any direction.
The ray is drawn by specifying the starting point and the through point on the viewport.
We can create different patterns and objects with the help of Ray command.
Let’s consider two examples to understand the concept of rays.
Example 1:
The steps are listed below:
- Click on the Ray Icon, as shown in the below image:
Or
Type Ray in the command line and press Enter. - Specify the starting point and the through point to draw the ray. Similarly, draw the rays in different directions.
- Specify a point on a vertical ray and draw rays from that point, as shown in the below image:
If you are unable to specify a point on the ray, press Ctrl key and right-click. Select all the snap settings.
Example 2:
The steps are listed below:
- Draw a circle on the drawing area in AutoCAD.
- Click on the RayIcon, as shown in the below image:
Or
Type Ray on the command line and press Enter. - Specify center point of a circle as the starting point of a ray.
- Draw the rays in different directions, as shown in the below image:
Similarly, we can use a ray command in multiple ways.